First time here?
-
mkvirtualenv outlier -
pip install -r requirements/python -
Add soft link to Dropbox folder with
ln -s ~/Dropbox/UofC-Outlier/ Dropbox -
To start flask app,
cd web && python web.py
Already set up?
-
workon outlier -
`cd web'
-
'python web.py`
Want to freeze documents?
-
workon outlier -
`cd web'
-
'python web.py build`
Note: Frozen documents will now be in the build folder
We're going to try having one person provision the production server for the
sake of simplicity (and because I've heard its generally a good idea). Ask
@deanmalmgren to do it for you. All he has to do is
git pull && git push && fab prod provision.
If it makes sense to give another person the ability to provision, we'll need to:
-
Add a user (
TKTK) to theoutlierserver as root. Be sure to giveTKTKsudo permissions.sudo adduser TKTK sudo adduser TKTK sudo
-
Setup automatic ssh for user
TKTKfrom their local machine to the remoteoutliermachine.echo -e "Host outlier\n\tHostName 45.55.218.200\n\tUser TKTK\n" >> ~/.ssh/config ~/Codes/LENS/bin/setup_automatic_ssh.sh outlier
-
Add ssh key to github for the
outlierserver on DigitalOcean. ssh tooutlierand follow the instructions -
From your local laptop, run the command above.