Skip to content

lfritts/ops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 

Repository files navigation




------------------------ SETUP A DEV ENVIRONMENT ---------------------
#Follow the initial server setup instructions first and get your github keys setup
git clone [email protected]:GlobAllomeTree/GlobAllomeTree.git ~/ops/dev/glomallometree
sudo apt-get install -y libjpeg62-dev zlib1g-dev libfreetype6-dev liblcms1-dev graphviz graphviz-dev pkg-config ipython-notebook 
sudo apt-get install -y libpq-dev python-dev
sudo apt-get install -y virtualenvwrapper
echo "source /etc/bash_completion.d/virtualenvwrapper" >> ~/.bashrc
source ~/.bashrc
mkvirtualenv globallometree


ACTIVATE + UPDATE DEV ENV
workon globallometree
cd ~/ops/dev/glomallometree
git pull
pip install -r server/requirements.txt


RUN DEVELOPMENT SERVER
workon globallometree
cd ~/ops/dev/glomallometree
./manage.py runserver 0.0.0.0:8083
#Open http://localhost:8083/ in your browser


GRAPH OUT MODELS
workon globallometree
pip install -r ~/ops/dev/glomallometree/server/requirements.debug.txt
cd ~/ops/dev/glomallometree
./manage.py graph_models allometric_equations locations taxonomy common -x modified,created -o data_models.png
./manage.py graph_models --no-inheritance --pygraphviz -g -o data_models_v2.png data_sharing common allometric_equations wood_densities locations taxonomy 









About

ops repo for deploying the globallometree site on the server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published