Skip to main content

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.

[![CircleCI](https://circleci.com/gh/DenisBiwott/PollsApp/tree/master.svg?style=svg)](https://circleci.com/gh/DenisBiwott/PollsApp/tree/master)

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

[![License: MIT](https://img.shields.io/badge/License-MIT-neon.svg)](https://github.com/DenisBiwott/PollsApp/blob/master/LICENSE)

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

Kipkoech-polls-0.2.4.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

Kipkoech_polls-0.2.4-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file Kipkoech-polls-0.2.4.tar.gz.

File metadata

  • Download URL: Kipkoech-polls-0.2.4.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for Kipkoech-polls-0.2.4.tar.gz
Algorithm Hash digest
SHA256 eb5eed42a9c3bdc11963aa11bdf47e2ca4f9c0dade54d8d724edbe96ae47cd69
MD5 ffde53451d33b30f8d73b17fd4308061
BLAKE2b-256 a6ee27207917d617d07e9fd353e9937bf2076a2e3a90e14907eceb766fd0cb49

See more details on using hashes here.

File details

Details for the file Kipkoech_polls-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: Kipkoech_polls-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for Kipkoech_polls-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 10eb2f8cc343f675a3e007c1147172261fff25f738a5717c95c1b9ddebdbf199
MD5 3e90011b320d38939fee7d66dd7ffc28
BLAKE2b-256 40865e689940d643c231473598a1a06601ee7dad1baa7c67f419b369e80b6db5

See more details on using hashes here.

Supported by

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