An application for conducting a poll or survey, written in Python using Django. It is based on the Django Tutorial project, with additional functionality.
This application is part of the Individual Software Process course at Kasetsart University.
-
Clone this KU-Polls repository in terminal
git clone https://github.com/jindasy/ku-polls.git
-
Move to project directory
cd ku-polls
-
Create virtual environment
python -m venv env
-
Start the virtual env in bash or zsh
. env/bin/activate
-
Install requirement for this project by using command
pip install -r requirements.txt
-
Create new database
python manage.py migrate
-
Import data
python manage.py loaddata data/polls.json data/users.json
-
Create file
.env
and use example fromsample.env
Note: To exit the virtualenv, type deactivate
, or close the terminal window.
- Start run web application by using command
python manage.py runserver
- Go to project urls
http://localhost:8000/polls/
Username | Password |
---|---|
nobi | nobita00 |
winky | lalapo99 |
All project documents are in the Project Wiki.