This is a Python program made with Django that helps you make surveys or polls with multiple-choice questions. It builds upon the Django tutorial project and adds additional functionality.
A polls application for Individual Software Process course at Kasetsart University.
see Installation
-
Start the server in the virtual environment.
# activate the virtualenv for this project. On Linux or MacOS: source venv/bin/activate # on MS Windows: venv\Scripts\activate # start the django server python3 manage.py runserver
This starts a web server listening on port 8000.
-
You should see this message printed in the terminal window:
Starting development server at http://127.0.0.1:8000/ Quit the server with CONTROL-C.
If you get a message that the port is unavailable, then run the server on a different port (1024 thru 65535) such as:
python3 manage.py runserver 12345
-
In a web browser, navigate to http://localhost:8000
-
To stop the server, press CTRL-C in the terminal window. Exit the virtual environment by closing the window or by typing:
deactivate
Sample polls and users data are included.
admin
passwordexamplepassword1
admin2
passwordexamplepassword2
harry
passwordhackme22
tonnam
passwordexamplepassword
All project-related documents are in the Project Wiki