Skip to content
Modeemi ry website
PostScript Python HTML CSS Dockerfile Shell Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
modeemintternet
scripts
.coveragerc
.dockerignore
.editorconfig
.gitignore
.prospector.yaml
.pyup.yml
.travis.yml
Dockerfile
LICENSE.md
Makefile
README.md
Vagrantfile
manage.py
mypy.ini
pytest.ini
requirements.in
requirements.txt
setup.py
tox.ini

README.md

Modeemi ry website

Build Status Coverage Status Updates

Modeemi ry website for the Finnish IT club based on Tampere, Finland.

Built on top of Python, Django and PostgreSQL.

Developing

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
pytest
python manage.py migrate --noinput
python manage.py collectstatic --noinput
python manage.py runserver

Committing

Please run test suite before committing your changes:

tox

If you have implemented new views or functionality, implement tests for those as well.

If you modify the views, remember to run python manage.py makemigrations before committing.

Updating the running web service

The web service Docker container is automatically built by a Dockerhub job from the master branch and a new version is deployed onto the web server periodically.

To update the project you can

  • Go get a soda and wait for 15 minutes for a cronjob to update the site.
  • Manually run webupdate on the web server as root.
You can’t perform that action at this time.