A Quiz app that we built for questioning users on geography quiz
Try out demo here
Activate virtual environment (venv) in project For Mac/Linux
. source/env/activateFor Windows(maybe, check official document)
.\venv\Scripts\activateUse pip package manager to install all dependcies that have been stored in requirements.txt
pip install -r requirements.txtIn the directory, run:
python3 app.pyAnd navigate to the URL stated on the terminal window
-
Always develop when in virtual environment first. Run commands above to get into virtual env, signal with (venv) prefix in the terminal
-
Pull the latest changes on repository before working on your change
$ git pull- Create a new, seperate branch on your local machine before making changes.
- Check what branch you're on
$ git branch- Create new branch
$ git checkout -b [name_of_your_new_branch]- Navigate to your branch
$ git checkout [name_of_your_new_branch]- When you're done, push your changes to github
$ git push- Delete your local branch if you don't do anything else on your local
$ git branch -d [name_of_your_new_branch]- Go to remote repository and make a pull request to merge into the final source code. Remember: There must be 2 reviewers for the PR to be merged. And don't push to master branch directly
This project is an effort of 4 members: