- Python (2.7)
- pip
easy_install pip
- virtualenv
pip install virtualenv
mkdir lexTerm && cd lexTerm
virtualenv --no-site-packages server
cd server
source bin/activate
git clone [email protected]:LexTerm/LexTermServer.git lexTerm
cd lexTerm
pip install -r requirements.txt
./manage.py syncdb
./manage.py runserver
- ssh onto the server
- create a virtual environment
git clone https://github.com/LexTerm/LexTermServer.git lexTerm
cd lexTerm
mkdir static
- In the webserver document root do
ln -s path/to/lexTerm/static static
- follow the django instructions [here] (https://docs.djangoproject.com/en/1.5/howto/deployment/fastcgi/#running-django-on-a-shared-hosting-provider-with-apache)
- to update, simply
git pull
in the repository