You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zuzelvp edited this page May 12, 2011
·
1 revision
NOTE: THIS PAGE IS OUTDATED.
Currently, the lernanta alpha live version is in /var/www/lernanta, owned by user stian.
To work on it, use
workon lernanta
to pull updates from github
git pull
to run server
./manage.py run_gunicorn -b 0.0.0.0:2042 --daemon
I use [http://gunicorn.org/ gunicorn] ([http://ericholscher.com/blog/2010/aug/16/lessons-learned-dash-easy-django-deployment/ deployment]). It's using the batucada table in the mysql database, through the batucada user.
It might be necessary to pull in more dependencies (pip), syncdb, or do migrations when code is updated (see README.rst).