Modeemi ry website for the Finnish IT club based on Tampere, Finland.
Built on top of Python, Django and PostgreSQL.
This guide assumes you have some experience in Django development.
Development environment can be easily provisioned with Vagrant:
vagrant up vagrant ssh cd /vagrant source ./virtualenv/bin/activate python -Wall manage.py test python manage.py migrate --noinput python manage.py collectstatic --noinput python manage.py runserver
Please run test suite before committing your changes.
# activate the environment as described before python manage.py test prospector
If you have implemented new views or functionality, implement tests for those as well.
Updating the running web service
To update the project you can
- Go get a soda and wait for a maximum of two hours for a cronjob to update the site.
- Manually run
webupdateon the web server as