Standard Networking Protocols using flask socketIO
For more details, refer the detailed readme
- shift google font to online version to remove mixed content error
- unipage deployment to heroku
- merge all three with namespaces and serve in
app.py
- test local, test heroku local and deploy
- merge all three with namespaces and serve in
- git clone the repo and navigate to directory
- make sure you have pipenv installed, or run
brew install pipenv
- type
pipenv shell
to activate the virtual environment - install requirements from
requirements.txt
or pip lock file - run
python app.py
and navigate tolocalhost:5000
in browser - disable debugging in
app.py
if you don't want messages in terminal - similarly, run
stop-and-wait.py
,go-back-N.py
, andselective-repeat.py
- refer heroku docs for more info
git add .
to stage everythinggit status
to verifygit commit -m "Committing changes"
git push
heroku login
heroku create <unique-app-name>
git push heroku master
heroku ps:scale web=1
to scale a dynoheroku open
to see the app