Sliding Window Protocols
Tech Involved - Python, Flask-SocketIO, heroku
Checkout the github repo - github.com/jatin69/sliding-window-protocols
Standard Sliding Window Protocols Protocols using flask socketIO
Demo
Checkout the deployed app here
How to run
- 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 - The
master
branch contains merged app - If you’re interested in separate app for all three protocols, visit the individual-release branch
How to deploy
- 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