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 project repository to your machine.
git clone https://github.com/khemissara/ku-polls.git
- Get into the directory of this repository.
cd ku-polls
- Create a virtual environment.
python -m venv venv
- Activate the virtual environment.
. env/bin/activate
- Install all required packages.
pip install -r requirements.txt
Create .env file in ku-polls
SECRET_KEY = 'django-insecure-)u=f_#17(&3%@q&1w@3c6f!^8ctf59(id3g2)%mkz*2b6-&$00'
DEBUG = True
TIME_ZONE = UTC
ALLOWED_HOSTS = localhost,127.0.0.1
- Run this command to migrate the database and load the data.
python manage.py migrate
python manage.py loaddate data/*.json
- Start running the server by this command.
python manage.py runserver
All project documents are in the Project Wiki
Iteration 1 Plan and Task Board
Iteration 2 Plan and Task Board
Iteration 3 Plan and Task Board
Iteration 4 Plan and Task Board
Username | Password |
---|---|
username1 | password112345 |
username2 | password212345 |