Difference between revisions of "Manage Lab Websites"

From DISI
Jump to: navigation, search
(Transportal)
(For websites running on Supervisord)
Line 50: Line 50:
 
=== For websites running on Supervisord ===
 
=== For websites running on Supervisord ===
 
* Become root on server the website runs on
 
* Become root on server the website runs on
 +
$ supervisorctl status
 +
$ supervisorctl restart <name>
 +
  i.e
 +
$ supervisorctl restart bks-lab
 +
$ supervisorctl restart tools18
 +
  
 
[[Category : Khanh]]
 
[[Category : Khanh]]

Revision as of 14:03, 24 December 2019

List of Websites

Website Server Run on
BKSLab, IrwinLab gimel : port 5002, 5004 Supervisord
Excipients, TLDR (formerly Tools18) gimel2 : port 8093, 5000 Supervisord
Transportal omega : port 8123 screen
SEA gimel2 : port 6068 screen

Restart Instructions

For websites running on Screen

  • Become khtang on gimel
$ screen -ls
21546.SEA	(Detached)
23528.transportal	(Detached)
22877.conference	(Detached)
16132.upload	(Detached)
24786.oeb_lib_building	(Detached)
4796.ShopAppMol	(Detached)
19162.FASTROCS-server	(Detached)
$ screen -r <screen_id>

SEA

$ make SEAserver-stop-devel
$ make all
$ make SEAserver-start-devel

Transportal

$ cd  /mnt/nfs/soft/www/apps/transportal/src/transportal
$ source venv/bin/activate.csh
$ python manage.py runserver 0.0.0.0:8123

For websites running on Supervisord

  • Become root on server the website runs on
$ supervisorctl status
$ supervisorctl restart <name>
  i.e 
$ supervisorctl restart bks-lab
$ supervisorctl restart tools18