An application for conducting surveys, written in Python using django. This project is based off of Django Tutorial project, with additional functionality.
In order to install the application:
- clone the repo into desired directory
- find the directory in terminal and run
python -m venv env
- then run
. env/Scripts/activate
- then to install the requirements run
pip install -r requirements.txt
- exit the environment then use
deactivate
- Now you need to create a
.env
file in the project directory. Follow the example file called sample.env. To generate a secret key go to this site - then to create the database run
python manage.py migrate
- finally, to load the data run
python manage.py loaddata data/polls.json data/users.json
In order to run the application, run the command:
python manage.py runserver
then you can go to http://127.0.0.1:8000/
or http://127.0.0.1:8000/polls
to use the web application.
Username | password |
---|---|
Admin | ilikeisp |
Username | password |
---|---|
test123 | thisisfine |
person1 | hello123 |
All project documents are in the Project Wiki