Skip to content

jindasy/ku-polls

Repository files navigation

Online Polls for Kasetsart University

Unittest Workflow codecov

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.

How to Install

  1. Clone this KU-Polls repository in terminal

    git clone https://github.com/jindasy/ku-polls.git
    
  2. Move to project directory

     cd ku-polls
    
  3. Create virtual environment

    python -m venv env
    
  4. Start the virtual env in bash or zsh

    . env/bin/activate 
    
  5. Install requirement for this project by using command

    pip install -r requirements.txt
    
  6. Create new database

    python manage.py migrate
    
  7. Import data

    python manage.py loaddata data/polls.json data/users.json
    
  8. Create file .env and use example from sample.env

Note: To exit the virtualenv, type deactivate, or close the terminal window.

How to Run

  1. Start run web application by using command
    python manage.py runserver
    
  2. Go to project urls
    http://localhost:8000/polls/
    

Demo Users

Username Password
nobi nobita00
winky lalapo99

Project Documents

All project documents are in the Project Wiki.

About

Web application for polls and surveys at Kasetsart U.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published