we use pipenv to setup the virtual environment.For more info about pipenv read here
-
Fork the this repo ( frok button on the top right corner)
-
Now you should see it on the list of your repos.
-
cd to your desired folder or (desktop) you want to clone.
-
on your github repo click clone or download button and copy the https: link
-
In your terminal type:
git clone <copied link>
-
cd to the cloned directory
-
Install pipenv ( if you do not have pipenv):
pip install pipenv
-
pipenv shell
command starts the virtual env. you can do it incase you turn off( exit ) your virtual env. -
Type:
pipenv install --dev
to install all the depencies that are in pipfile. (use this command if you are cloning this repo ) . -
Execute the run.py with:
python run.py
command in terminal. Typelocalhos:5000
on your browser
- Create new branch :
git checkout -b <your branch name>
- Now you should be on your branch :
<branchname>
- Start to add your code
git status
check status ( red text indicates its not stagged yet.)git add .
your code goes to staging area.git status
check status ( text should be green )" git commit -m "< your commit message here>"
saves the changes.git push -u origin <branch>
- Repeat this step 1- 4 each time you want to commit. step 5 to upload your working code(avoid pushing the broken code ).
- Goto your git hub and send the pull request.