Excipient server restart: Difference between revisions

From DISI
Jump to navigation Jump to search
(Created page with "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 an...")
 
No edit summary
Line 5: Line 5:
   source bin/activate
   source bin/activate
2. Go to the dev version of Excipients and the version number set in the __init__.py file
2. Go to the dev version of Excipients and the version number set in the __init__.py file
3. Run -> python setup.py sdist
3. Run -> python setup.py sdist
4. copy over the created dist folder in /nfs/soft/www/apps/excipients/envs/production/  
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
5. Run -> pip install dist/CERSI-Excipients-X.Y.Z.tar.gz
6. ssh to n-1-110 n-1-from gimel -> ssh superuser@n-1-110
6. ssh to n-1-110 n-1-from gimel -> ssh superuser@n-1-110
7. get root -> sudo -i  
7. get root -> sudo -i  
8. find the excipients screen -> screen -ls
8. find the excipients screen -> screen -ls
9. switch to excipients screen -> screen -dR excipient
9. switch to excipients screen -> screen -dR excipient
10. CTRL-C to kill
10. CTRL-C to kill
11. <UP> <ENTER> to rerun
11. <UP> <ENTER> to rerun

Revision as of 20:42, 21 June 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 -> python setup.py sdist

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 n-1-110 n-1-from gimel -> ssh superuser@n-1-110

7. get root -> sudo -i

8. find the excipients screen -> screen -ls

9. switch to excipients screen -> screen -dR excipient

10. CTRL-C to kill

11. <UP> <ENTER> to rerun