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
Run ‘fab deploy’ to deploy the project. This runs the provision.yml playbook in the playbook folder which starts deployment using ansible.The provision.yml playbook imports deploy.yml which deploys the project to a AWS instance.
You will need to create a vars.yml playbook that contains variables (Not in repo for obvious security reasons), hosts.yml contains hosts being deployed to, encrypt.yml makes the project hosted in HTTPS, supervisor.yml set up supervisor in the server, and continuous_dev.yml makes the project continually deployed in CIRCLECI.
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
[](https://github.com/DenisBiwott/PollsApp/blob/master/LICENSE)
Release files for Kipkoech-polls 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Kipkoech-polls-0.2.4.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Kipkoech_polls-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.0 kB
Release files / Kipkoech-polls-0.2.4.tar.gz
| Download URL | Kipkoech-polls-0.2.4.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb5eed42a9c3bdc11963aa11bdf47e2ca4f9c0dade54d8d724edbe96ae47cd69
|
|
BLAKE2b-256 checksum How to use checksums |
a6ee27207917d617d07e9fd353e9937bf2076a2e3a90e14907eceb766fd0cb49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.32.2 CPython/3.6.8
|
Release files / Kipkoech_polls-0.2.4-py3-none-any.whl
| Download URL | Kipkoech_polls-0.2.4-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10eb2f8cc343f675a3e007c1147172261fff25f738a5717c95c1b9ddebdbf199
|
|
BLAKE2b-256 checksum How to use checksums |
40865e689940d643c231473598a1a06601ee7dad1baa7c67f419b369e80b6db5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.32.2 CPython/3.6.8
|