Metadata-Version: 2.1
Name: Kipkoech-polls
Version: 0.0.1
Summary: Simple Django Polls app
Home-page: https://github.com/DenisBiwott/PollsApp
Author: Denis Kipkoech
Author-email: deniskipkoech@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Internet
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3
Requires-Dist: requests (==2.20.0)

#KIPKOECH POLLS APP

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 public IP [54.152.95.241]


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


