Team: Narcodes
Pair: Kunal Baweja (kb2896) and Siddharth Shah (sas2387)
Subject: COMS W4156 Advanced Software Engineering (Fall-2016)
Mysite is a simple web application written to emulate a poll based question answers application. It has three display pages as described below:
- Index view: Displays the list of question, with clickable URLs. The user can click on any of the questions to reach the Question view specific to that question. If there are no questions published for users then an error message is displayed.
- Question view: This page displays the multiple choices available to answer the given question. The choices are displayed alongside radio buttons and the user can choose any one of the available options to vote for the given question.
- Result View: After answering the question on Question view page, user is redirected to corresponding Result view where the most updated results are displayed for the votes received on each option of the given question.
- Development Framework: Django (Python based server)
- HTML
- JavaScript/jQuery
- CSS/Bootstrap
- Static Analyser: PyLint
- Build & Integration: travis-ci.com
- django version 1.10.2
- mysqlclient python package
- mysql server
- mysqclient
Execute following commands for installation on linux platform:
apt-get install mysql-server
apt-get install mysql-client
pip install -r requirements.txt
- Start Server:
python manage.py runserver
- Navigate to http://localhost:8000/polls/