Skip to content

Instantly share code, notes, and snippets.

@mmulich
Created July 22, 2013 18:03
Show Gist options
  • Save mmulich/6056077 to your computer and use it in GitHub Desktop.
Save mmulich/6056077 to your computer and use it in GitHub Desktop.

Instructions for People Not Called Ross on Fillet

Important locations

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.

Restarting

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment