Simple Django Polls app
Project description
This is a simple Django polls app. It takes users inputs based on given choices and stores them in a Postgresql database. The results of the polls are then shown to the user.
Installation
Use the provision.yml playbook in the playbook folder to start deployment using ansible. The provision.yml playbook imports deploy.yml which deploys the project to a AWS instance. You however have to edit vars.yml playbook which contains variables and hosts.yml which contains hosts being deployed to.
Usage
The Kipkoech Polls project can be run locally via the command ‘python3 manage.py runserver’ or hosted using nginx and gunicorn. The first page is a page with poll questions. The user selects a questions and a list of options are displayed. The user selects an option and submits query (Click on the question and submit - there are no indications the question has been clicked). The user is then showed results page which gives results of the polls.
The project is hosted on AWS and can be accessed using the domain [kipkoeck.cf]
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.
License
MIT
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
Hashes for Kipkoech_polls-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb01e67e2d88c482b439e3e5226e26aa0476b2f9d3ff38ab194ceebd0657605e |
|
MD5 | d3e3acb6e224e17b518281887a75bf96 |
|
BLAKE2b-256 | a47ba67e4fb24a41271bcd09e8cabd99114fdb0394b53043d4707b74146f40f6 |