This application is mainly used for online polls and surveys and using Django framework where you can see the tutorial on Django Tutorial project. It also having other features as well.
Clone this repository into your local working space.
git clone https://github.com/pinpimarn/ku-polls.git
Next, run
python -m venv env
and
. env/Scripts/activate
After that, you have to install the packages that are required for this repository.
pip install -r requirements.txt
Next, deactivate the environment by
deactivate
Then, you have to build your server using settings.env
.
Lastly, you have to create the database run and load data by
python manage.py loaddata data/polls.json data/users.json
You can run the server by
python ./manage.py runserver
Now, you can visit the linkhttp://localhost:8000
.
Users provided by the initial data (users.json):
Username | Password |
---|---|
mymelody | hackme22 |
test | iamabot555 |
iamnewuser | whatisthis000 |
lestmetest | helloworld222 |
All project documents are in the Project Wiki