Skip to content

An application for conducting online polls and surveys based on the Django Tutorial project, with additional features.

Notifications You must be signed in to change notification settings

ThanadolU/ku-polls-2022

Repository files navigation

ku-polls

Online Polls And Surveys

Unittest codecov

An application for conducting online polls and surveys based on the Django Tutorial project, with additional features.

App created as part of the Individual Software Process course at Kasetsart University.

Install and Run

  1. first clone this repository by type this command in your terminal at your choose path

    git clone https://github.com/ThanadolU/ku-polls.git
    
  2. make sure that you install all the requirements by run this command, its can be whether pip, pip3, or python -m pip

    pip install -r requirements.txt
    
  3. You will need to configure your server using .env (you may get your secret key here). Take a look at sample.env.

  4. Create the database run

    python manage.py migrate
    
  5. Load the data

    python manage.py loaddata data/polls.json data/users.json
    
  6. The final step is to run the development server by,

    python manage.py runserver
    

You can now visit, http://127.0.0.1:8000/ or http://localhost:8000

Demo Admin

Username password
test_admin 789630

Demo Users

Username password
harry hackme22
guest123 8520

Project Documents

All project documents are in the Project Wiki.

About

An application for conducting online polls and surveys based on the Django Tutorial project, with additional features.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published