This django web-server software is suitable for scheduling time consuming jobs only at remote computational node.
The IP address of of computational node is set at proj/pred/static/computenode.txt, one line per record
Nanjiang Shu
System developer at NBIS
Email: [email protected]
-
Install dependencies for the web-server
-
Install the virtual environments by
$ bash setup_virtualenv.sh
-
Create the django database db.sqlite3
-
Run
$ bash init.sh
to initialize the working folder
-
In the folder
proj
, create a softlink of the setting script.For development version
$ ln -s dev_settings.py settings.py
For release version
$ ln -s pro_settings.py settings.py
Note: for the release version, you need to create a file with secret key and stored at
/etc/django_pro_secret_key.txt
-
On the computational node. run
$ virtualenv env --system-site-packages
to make sure that python can use all other system-wide installed packages