TeerapatTrepopsakulsin / ku-polls

An application to conduct online polls and surveys based on the Django Tutorial project, with additional features.
0 stars 0 forks source link

KU Polls: Online Survey Questions

unittest-results

An application to conduct online polls and surveys written in Python and based on the Django Tutorial project that lets everyone see the results of a poll question, but only authenticated users can submit or change their own vote, with a limit of one vote per user for every poll. Furthermore, each poll question has its own voting period, during which users can submit or change their votes for the poll, but the poll will always be visible after it has been published even after it voting period has passed.

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

Installation

See Installation instruction in Installation.md or in the project wiki.

Running the Application

  1. Start the server in the virtualenv.

    • Activate virtualenv

      Linux and MacOS:

      source env/bin/activate

      MS Windows:

      env\Scripts\activate
    • run the django server
      python manage.py runserver
  2. You should see this message printed in the terminal window:

    Starting development server at http://127.0.0.1:8000/
    Quit the server with CTRL-BREAK.
  3. In a web browser, navigate to http://localhost:8000. The KU Polls app should be displayed.

  4. To stop the server, press CTRL-C in the terminal window. Then exit the virtualenv by closing the window or typing:

    deactivate

More detail about how to run the app in the project wiki.

Demo User Accounts

Here are 4 demo accounts:

You can create more user accounts by sign up in the app.

Project Documents

All project documents are in the Project Wiki.

Iteration plan