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
poetry installto set-up the virtualenv (one-off)poetry run ./src/vote4film/manage.py migrateto set-up the local DB (one-off)poetry run ./src/vote4film/manage.py runserver_plusmake fix,make checkandmake testbefore committing
Contributing
Pull requests are welcome :)
Publishing
This application is published on PyPi.
- Ensure you have configured the PyPi repository with Poetry (one-off)
- Add the release notes in this README.md
poetry bump minorto bump the major/minor/patch versionpoetry publish --buildto release
To publish to the test repository:
- Ensure you have configured the Test PyPi repository with Poetry (one-off)
poetry publish --build -r testpypito 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/manage
Changelog
v1.0.8 - 2019/11/13
- Rename management command from vote4film to manage
- Stop trying to be smart about packaging
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vote4film-1.0.8.tar.gz.
File metadata
- Download URL: vote4film-1.0.8.tar.gz
- Upload date:
- Size: 33.1 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35b00b8004e155c9f16f21595601f0821c80138253020ea975a6cbd81e55f4be
|
|
| MD5 |
2f5dcd3f8a5bc7d50fb0587c7d4fc993
|
|
| BLAKE2b-256 |
7368b742a51b6bc0e1d277d2fb414d2e3fd1a7f494679adbd344db0cc3d7d2d7
|
File details
Details for the file vote4film-1.0.8-py3-none-any.whl.
File metadata
- Download URL: vote4film-1.0.8-py3-none-any.whl
- Upload date:
- Size: 45.1 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc28ec0835f1fd1d4aa419955ce8fad89567fa0d5ea3fd662b7023798820a4a0
|
|
| MD5 |
9ca6b4746d47a6c2d07337a115101186
|
|
| BLAKE2b-256 |
fa7bc0ab0ddf69f08ad9d87bb5bd0d1141d88c33731316ee80bdef1a8634ad51
|