Contains MX databases for the BioCAT beamline.
Setup:
- Clone the git into /opt/mx_databases. Because of permission (/opt needs sudo, but the ssh key for github is usually set up for the biocat account), the best approach is usuall to clone into your home folder and then do a sudo mv into the /opt folder.
- Create a subfolder for the computer that you want to version control the databases of.
- Copy the current contents of the /opt/mx/etc folder into the subfolder you created.
- Commit the current database.
- Backup the current database by copying /opt/mx/etc to /opt/mx/etc_bk
- Remove the /opt/mx/etc folder
- Add softlinks to git: sudo ln -s /opt/mx_databases/trogdor /opt/mx/etc
Note: often the /opt/mx folder is a softlink to a particular version of an mx install. In this case, it shouldn't matter, but it might be best to work in the real directory, rather than the soft link.
Modifying:
- Modify the files in the git clone
- Commit the changes to the git.
- When done with modifications for the day, push changes to github.