Skip to content

thanidacwn/ku-polls

Repository files navigation

KU Polls: Online Survey Questions

Testing

This application, developed during the Individual Software Process course at Kasetsart University, expands upon the Django Tutorial project project to facilitate online polls and surveys while incorporating extra features.

How to install and configuration

How to Run

1.Start the virtual environment

source env/bin/activate

On Microsoft Windows:

. env/bin/activate

2.How to set values for externalized variables

create file name .env to configuration note that you may get your secretkeys here

.env file template looks like sample.env you can modify value and copy it into .env

3.Install requirements inside the virtual environment:

pip install -r requirements.txt

4.Run migrations

python3 manage.py migrate

5.Run tests

python3 manage.py test

6.Install data from the data fixtures

python3 manage.py loaddata data/*.json

7.Run the application

python3 manage.py runserver

Then, go to http://127.0.0.1:8000/ or localhost:8000/ for application.

Username Password
panda Jumbo@123
dinosaur Cute@123
bhayu Saifha@123
coconut Juice@123

8.Exit the virtualenv

deactivate

Project Documents

All project documents are in the Project Wiki

About

Web Application survey polls in Kasetsart University

Resources

Stars

Watchers

Forks

Packages

No packages published