Polls Application is a web-based polls written in Django.
- Python 3.8
- Django 3.0.8
- PostgreSQL 12.3
- Make sure to have
python
andpip
installed - Install PipEnv
pip install --user pipenv
- Activate a virual environment using
pipenv
pipenv shell
- Install required packages with dev dependencies
pipenv install -r requirements.txt
- Create
.env
file and fill inSECRET_KEY
- Start the development server inside the same directory with manage.py
python manage.py runserver
- Visit http://127.0.0.1:8000/admin/ to create a poll.
- Visit http://127.0.0.1:8000/polls/ to participate in the poll.
Run tests
python manage.py test polls