django-polls is a Django app to conduct web-based polls. For each question, visitors can choose between a fixed number of answers.
Django Tutorial: https://docs.djangoproject.com/en/5.0/intro/tutorial01/
Online Demo: https://django-polls-one.vercel.app/polls/
pip install -r requirements.txt
python manage.py collectstatic
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
- Start the development server and visit the admin at
/admin/
URL to create a poll. - Visit the
/polls/
URL to participate in the poll.
gunicorn mysite.wsgi
openssl req -x509 -nodes -newkey rsa:2048 -keyout nginx/domain.key -out nginx/domain.crt
nginx -c $PWD/nginx/nginx.conf