/ku-polls

Primary LanguageJavaScriptMIT LicenseMIT

KU Polls: Online Survey Questions

Django CI flake8 lint

An application to conduct online polls and surveys based on the Django 5.1 Tutorial project, with additional features.

This app was created as part of the Individual Software Process course at Kasetsart University.

Running the Application

  1. Before running the application make sure to install all requirements.
  2. Activate virtual environment
    • For macOS/Linux
    source env/bin/activate
    
    • For Windows
    env\Scripts\activate
    
  3. Load poll data from a file
    python manage.py loaddata data/<filename>
    
    For example, in V1.0.0 use this commandline
    python manage.py loaddata data/polls-v4.json data/votes-v4.json data/users.json
    
  4. Run django server
    python manage.py runserver
    

Demo superuser

list Username Password
1 admin MyStrongPassword123

Demo users

list Username Password
1 demo1 hackme11
2 demo2 hackme22
3 demo3 hackme33

Project Documents

All project documents are in the Project Wiki.