Skip to content

For the KU community who want to conduct surveys and polls open to the community, KU Polls is an easy to use web application that enables people to create or participate in poll and surveys, and view or modify one's choice any time during the polling period.

Notifications You must be signed in to change notification settings

SmileyFaceZ/ku-polls

Repository files navigation

Unit Test

KU Polls: Online Survey Questions

An application to conduct online polls and surveys based on the [Django Tutorial project][django-tutorial], with additional features.

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

Install and Run

Clone the Repository:

Clone the repository and using this command on terminal.

git clone https://github.com/SmileyFaceZ/ku-polls.git

Installiation:

Install and set up a project using the Installation guide.

Create a virtual environment and activate it

To create a virtual environment, run the following command:

python -m venv venv

or

python3 -m venv venv

To activate the virtual environment, use one of the following commands:

Windows

venv\Scripts\activate

macOS / Linux:

source venv/bin/activate

The command prompt should changes to show the virtual env is active.

#Windows

(env) cmd>

#macOS / Linux

(env) $

If you want to deactivate the virtual environment, run the following command:

deactivate

Run server:

Launch the server by running the following command:

python manage.py runserver

or

python3 manage.py runserver

To stop the server, simply press Ctrl-C in the terminal.

Demo Account:

Username Password
demo1 easy1
demo2 easy2
demo3 easy3
demo4 easy4
demo5 easy5

Project Documents

All project documents are in the Project Wiki.

Django Tutorial:

  • Part 1: Creation of a basic poll application.
  • Part 2: Set up the database.
  • Part 3: Focus on creating the public interface.
  • Part 4: Focus on form processing and cutting down our code.
  • Part 5: Built a web-poll application and create some automated tests.
  • Part 6: Add a stylesheet and an image.
  • Part 7: Focus on customizing Django’s automatically-generated admin site.

About

For the KU community who want to conduct surveys and polls open to the community, KU Polls is an easy to use web application that enables people to create or participate in poll and surveys, and view or modify one's choice any time during the polling period.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published