TDT4140 - Programvareutvikling
2017
Gruppe 34 Eivind Keil, Håkon Molven, Long T. Thai, Silje Riseng
qBot
- Install pip https://pip.pypa.io/en/stable/installing/
- Set up a virtual enviroment https://virtualenv.pypa.io/en/stable/
virtualenv -p /usr/local/bin/python3.6 env
- Clone project
git clone https://github.com/siljr/pu.git
- Open virtual enviroment cd to the virtual enviroment folder (probably named env or venv)
source bin/activate
- Install requirements.txt
pip install -r requirements.txt
- Migrate server
python manage.py migrate
- Run server
- cd to the qBot folder
python manage.py runserver
- Create superuser
python manage.py createsuperuser- username: admin
- email: (leave blank, just press enter)
- password: admin123
- click "register" on the navbar(https://qbot-ntnu.herokuapp.com/register)
- click "about" on the navbar(https://qbot-ntnu.herokuapp.com/about/)
- click "logout" on the navbar(https://qbot-ntnu.herokuapp.com/logout/)
- Click on "Newest" under the navbar(https://qbot-ntnu.herokuapp.com/questions/myquestions/n/)
- Click on "Oldest" under the navbar(https://qbot-ntnu.herokuapp.com/questions/myquestions/o/)
- Click on "Most votes" under the navbar(https://qbot-ntnu.herokuapp.com/questions/myquestions/mv/)
- Click "New question" button on the navbar(https://qbot-ntnu.herokuapp.com/questions/create_question)
- Fill in form
- Press "Submit"
- Click "My questions" button the navbar(https://qbot-ntnu.herokuapp.com/questions/myquestions/)
- Click "scores" button on the navbar(https://qbot-ntnu.herokuapp.com/questions/scores/)
- Click "profile" button on the navbar(https://qbot-ntnu.herokuapp.com/profile/)