Most everything runs from /opt/beta
/opt/beta - root
- $root/src
A git clone of the repos needed. This has been setup on the local system using develop so the venvs/.../site-packages is symlinked to this /src dir
- $root/venvs
Virtualenvs for vrepo and vuser. Here the setup develop was run.
- $root/logs
log files. Configured by .ini file as well as piping output to files.
Ross setup the applications and has ownership over all the files, so you must run the processes as him. :
$ sudo su - www-data
Kill the currently running process by finding the current process id (pid) and killing it:
$ ps aux | grep beta
$ kill -9 [pid]
Restart the processes.
Command for runnning the repo:
$ /opt/beta/venvs/vrepo/bin/python /opt/beta/venvs/vrepo/bin/rhaptos2repo-run --debug --config=/opt/beta/venvs/vrepo/develop.ini --devserver --jslocation=/opt/beta/src/atc/ >& nohup.out
Command for running cnx-user:
$ /opt/beta/venvs/vuser/bin/python /opt/beta/venvs/vuser/bin/pserve /opt/beta/src/cnx-user/development.ini &> /opt/beta/src/cnx-user/nohup.out