Skip to content

Web application for polls and surveys at Kasetsart University

Notifications You must be signed in to change notification settings

kulisarawiangin/ku-polls

Repository files navigation

ku-polls

Test Polls codecov

Web application for polls and surveys at Kasetsart University

Online Polls for Kasetsart University

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 and Run

install python in your computer

  1. Choose path that this project will be in then clone this repository by type this command in your terminal.
git clone https://github.com/kulisarawiangin/ku-polls.git
  1. move to your project directory by type this
cd ku-polls
  1. create environment
  python -m venv env
  1. activate env
 . env/bin/activate  
  1. install requirement by run this command
 pip install -r requirements.txt

you can deactivate env by type this command

 deactivate
  1. Create file name .env to configuration as sample.env in git repository
  2. migrate data and load it
python manage.py migrate
python manage.py loaddata data/*.json
  1. run server by type this command in your terminal.
python manage.py runserver
  1. You can use website at
localhost:8000/ or http://127.0.0.1:8000/

This web application has two link /polls and /admin but the main page is /polls.

Admin provide by initial data

Username Password
Kulisara P@ssw0rd

User provide by initial data

Username Password
jay jay12345
harry harry12345

Project Documents

All project documents are in the Project Wiki

About

Web application for polls and surveys at Kasetsart University

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published