How to Update from v20 (Linux) » History » Revision 2
« Previous |
Revision 2/3
(diff)
| Next »
Anchi Cheng, 03/28/2011 07:08 PM
How to Update from v20 (Linux)¶
Download myami 2.1.x source code¶
Download myami (contains Appion and Leginon) using one of the following options:
Option 1: 3.4 version (Current release)¶
- We have switched to git for version control.
git clone -b myami-3.4 https://emg.nysbc.org/git/myami myami
Note: If you are installing these files on a microscope Windows PC, you may use Git for Windows to clone the files. See notes on configuration note in Here Check compatibility as newer version does not support Windows XP.
Option 2: beta-release version (Used and updated at NRAMM daily with newest features that may not yet documented)¶
- We have switched to git for version control.
git clone -b myami-beta https://emg.nysbc.org/git/myami myami
Note: If you are installing these files on a microscope Windows PC, you may use Git for Windows to clone the files. See notes on configuration note in Here Check compatibility as newer version does not support Windows XP.
Option 3: Development version (For true developer to play with)¶
- We have switched to git for version control recently. trunk and future release branches will be available with git clone
- unstable with latest features
This contains features that may still be under development. It is not supported and may not be stable. Use at your own risk.
git clone -b trunk https://your_redmine_username@emg.nysbc.org/git/myami myami
- your_redmine_username is required if you intend and have permission to push changes to our repository. Please ask the development team if you would like to contribute.*
Note: If you are installing these files on a microscope Windows PC, you may use Git for Windows to clone the files. See notes on configuration note in Here Check compatibility as newer version does not support Windows XP.
Install Appion/Leginon Packages¶
Install all the myami python packages except appion using the following script:¶
cd /your_download_area cd myami sudo ./pysetup.sh install
That will install each package, and report any failures. To determine the cause of failure, see the generated log file "pysetup.log". If necessary, you can enter a specific package directory and run the python setup command manually. For example, if sinedon failed to install, you can try again like this:
cd sinedon sudo python setup.py install
Run Database Update Script¶
Running the following script will indicate if you need to run any database update scripts.
cd /your_download_area/myami/dbschema python schema_update.py
This will print out a list of commands to paste into a shell which will run database update scripts.
You can re-run schema_update.py at any time to update the list of which scripts still need to be run.
How to Update from v2.0 (Microscope Windows Computer) >
Updated by Anchi Cheng over 13 years ago · 2 revisions