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.5.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: Kipkoech-polls-0.2.5.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.5.tar.gz
Algorithm Hash digest
SHA256 dfe604cf90803d203a52f2510d5ff0d3a53840f0ce4d6500ee06697af86b5121
MD5 7bd70adc92819f4b44c38efbbdce93c3
BLAKE2b-256 4759978f72636dd8462a83079518541e8fa2e06bf8ffa2d64bf0d73c179b589b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Kipkoech_polls-0.2.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e9512c912a1dd8ff74e5e8259443e1512a3e3343a2e90ad1dd4b469684c74f96
MD5 cf7c94fb10a63b6a9200139686f74539
BLAKE2b-256 2624596c0ac67e6c117d3c99d215224660f2a9a4b9f042e054ae018e70f0dc74

See more details on using hashes here.

Supported by

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