Skip to content

Web application for polls and surveys at Kasetsart University

Notifications You must be signed in to change notification settings

premepreme/ku-polls

Repository files navigation

ku-polls

Python application 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 courseat Kasetsart University.

Install and Run

  1. Clone this project repository to your machine.
git clone https://github.com/premepreme/ku-polls.git
  1. Get into the directory of this repository.
cd ku-polls
  1. Create a virtual environment.
python -m venv venv
  1. Activate the virtual environment.
. env/bin/activate
  1. Install all required packages. pip install -r requirements.txt Create .env file in ku-polls
SECRET_KEY = 'django-insecure-)u=f_#17(&3%@q&1w@3c6f!^8ctf59(id3g2)%mkz*2b6-&$00'
DEBUG = True
TIME_ZONE = UTC
  1. Run this command to migrate the database and load the data.
python manage.py migrate
python manage.py loaddate data/*.json
  1. Start running the server by this command.
python manage.py runserver

Demo users

Username Password
username1 password
username2 password
username3 password
username4 password

About

Web application for polls and surveys at Kasetsart University

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages