Web application for polls and surveys at Kasetsart University
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.
install python in your computer
- Choose path that this project will be in then clone this repository by type this command in your terminal.
git clone https://github.com/kulisarawiangin/ku-polls.git
- move to your project directory by type this
cd ku-polls
- create environment
python -m venv env
- activate env
. env/bin/activate
- install requirement by run this command
pip install -r requirements.txt
you can deactivate env by type this command
deactivate
- Create file name .env to configuration as sample.env in git repository
- migrate data and load it
python manage.py migrate
python manage.py loaddata data/*.json
- run server by type this command in your terminal.
python manage.py runserver
- You can use website at
localhost:8000/ or http://127.0.0.1:8000/
This web application has two link /polls
and /admin
but the main page is /polls
.
Admin provide by initial data
Username | Password |
---|---|
Kulisara | P@ssw0rd |
User provide by initial data
Username | Password |
---|---|
jay | jay12345 |
harry | harry12345 |
All project documents are in the Project Wiki