Excipient server restart: Difference between revisions
Jump to navigation
Jump to search
Enkhjargal (talk | contribs) No edit summary |
Enkhjargal (talk | contribs) No edit summary |
||
Line 33: | Line 33: | ||
11. <UP> <ENTER> to rerun | 11. <UP> <ENTER> to rerun | ||
(this will start the gunicorn server: | |||
gunicorn --access-logfile excipients.ucsf.bkslab.org.acc --max-requests 1000 --bind 10.20.0.31:8093 excipients:app --workers 5) |
Revision as of 21:17, 3 October 2016
Excipient Deployment:
1. activate the production server ->
cd /nfs/soft/www/apps/excipients/envs/production/ source bin/activate
2. Go to the dev version of Excipients and the version number set in the __init__.py file
3. Run as root ->
python setup.py sdist
4. ssh into nfs-soft and become root ->
ssh superuser@nfs-soft sudo -i
4. copy over the created dist folder in /nfs/soft/www/apps/excipients/envs/production/
5. Run ->
pip install dist/CERSI-Excipients-X.Y.Z.tar.gz
6. ssh to gimel ->
ssh superuser@gimel
7. get root ->
sudo -i
8. find the excipients screen ->
screen -ls
9. switch to excipients screen ->
screen -dR excip
10. CTRL-C to kill
11. <UP> <ENTER> to rerun
(this will start the gunicorn server: gunicorn --access-logfile excipients.ucsf.bkslab.org.acc --max-requests 1000 --bind 10.20.0.31:8093 excipients:app --workers 5)