Skip to main content

Easy scheduling for regular film nights

Project description

Vote4Film

Simplify film selection for regular film nights. Participants can:

  • Add films
  • Vote for films
  • Declare absences
  • See the schedule which takes into account votes and absences

Admins can set the schedule of film nights.

This is a simple WSGI Web Application. The back-end is Django, and the front-end is dynamic HTML served by Django (no JavaScript is used).

Development

  1. poetry install to set-up the virtualenv (one-off)
  2. poetry run ./src/vote4film/manage.py migrate to set-up the local DB (one-off)
  3. poetry run ./src/vote4film/manage.py runserver_plus
  4. make fix, make check and make test before committing

Contributing

Pull requests are welcome :)

Publishing

This application is published on PyPi.

  1. Ensure you have configured the PyPi repository with Poetry (one-off)
  2. Add the release notes in this README.md
  3. poetry bump minor to bump the major/minor/patch version
  4. poetry publish --build to release

To publish to the test repository:

  1. Ensure you have configured the Test PyPi repository with Poetry (one-off)
  2. poetry publish --build -r testpypi to upload to the test repository

Deployment

Unfortunately, I will not provide detailed guidance for production deployment.

Some general tips:

  • Create a virtualenv, e.g. in ~/virtualenv
  • Install with pip install vote4film[postgres]
  • Write the configuration at ~/.config/vote4film/local.env
  • Use Postgres as the database
  • Use Nginx/uWSGI to to serve the site (with HTTPS)
  • Run Django management commands using ./virtualenv/bin/vote4film

Changelog

v1.0.7 - 2019/11/13

  • The same fixes as v1.0.6 but for real this time

v1.0.6 - 2019/11/13

  • Fix url patterns for internal apps in installed environment
  • Fix missing template files in PyPi package (so typical!)

v1.0.5 - 2019/11/12

  • Add optional postgres support, e.g. pip install vote4film[postgres]

v1.0.4 - 2019/11/12

  • Fix bug loading config from XDG config home (sigh)
  • Fix django-extensions being missed from dependencies

v1.0.3 - 2019/11/12

  • Fix config sub-directory used in XDG config home

v1.0.2 - 2019/11/12

  • Load configuration from XDG config home

v1.0.1 - 2019/11/10

  • First release of Vote4Film

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vote4film-1.0.7.tar.gz (32.7 kB view details)

Uploaded Source

Built Distribution

vote4film-1.0.7-py3-none-any.whl (44.0 kB view details)

Uploaded Python 3

File details

Details for the file vote4film-1.0.7.tar.gz.

File metadata

  • Download URL: vote4film-1.0.7.tar.gz
  • Upload date:
  • Size: 32.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.4 Linux/5.3.8-arch1-1

File hashes

Hashes for vote4film-1.0.7.tar.gz
Algorithm Hash digest
SHA256 c3ac1e09798040fbbb6c8ed40a42e6354870a564d6a8d4d450a5370c99a36791
MD5 c62f097001bd0f5bec9fe6f0cbe608e8
BLAKE2b-256 988af8ca877b5cc7c28914f594da72c42677a79da716b92969b9b96c967e1813

See more details on using hashes here.

File details

Details for the file vote4film-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: vote4film-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 44.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.4 Linux/5.3.8-arch1-1

File hashes

Hashes for vote4film-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 9834edb2aa7f5a12df1a611016335256b2692017f998a2be2484fd49d4888eeb
MD5 c08cb002e6dc634a1f0dd4588e3e59f2
BLAKE2b-256 64292194d6de26acd87315f619d04647866d91e9897e8f57f9f97adb038b4f1f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page