Skip to content

The Polling Project is a web-based application that allow users to Create and Vote in multiple polls created by various users. As a result, one can statistically analyze the trend by taking public opinion through these polls.

License

Notifications You must be signed in to change notification settings

Parth-Shah-99/Polling-Project

Repository files navigation

Polling Project

The Polling Project allows users to Create, Manage and Vote in multiple polls created by various users. As a result, one can statistically analyze the trend by taking public opinion through these polls.

Tech Stack

This application is purely build with the Django Framework of Python.
Requirements:

Installation

First, clone this respository with the following link:

git clone https://github.com/Parth-Shah-99/Polling-Project.git

Next, navigate in the following folder:

cd Polling-Project

Create a virtualenv for the following project and activate it:

virtualenv venv
source venv/bin/activate

Next, install the requirements from requirements.txt file:

pip install -r requirements.txt
  • Before running migrations, edit the settings.py file:
  1. Generate new SECRET_KEY (help: you can generate it from Djecrety)
    ( SECRET_KEY = "<generated_key>" )
  2. Set DEBUG = True
  3. Update EMAIL_HOST_USER and EMAIL_HOST_PASSWORD
    ( EMAIL_HOST_USER = "<your_email_id>", EMAIL_HOST_PASSWORD = "<your_password>" )

Next, run migrations:

python manage.py makemigrations polls
python manage.py migrate

Next, create a default superuser (enter username and password for admin):

python manage.py createsuperuser

Run the server:

python manage.py runserver

Finally, navigate to http://127.0.0.1:8000/ and ENJOY THE POLLING APP.

For Admin Panel, navigate to http://127.0.0.1:8000/admin/ and enter username and password you have used earlier.

License License: MIT

Please see the LICENSE file for details.

About

The Polling Project is a web-based application that allow users to Create and Vote in multiple polls created by various users. As a result, one can statistically analyze the trend by taking public opinion through these polls.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published