Skip to content

jatin69/sliding-window-protocols

This branch is 3 commits behind master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6c5d9f5 · May 2, 2018

History

40 Commits
Apr 15, 2018
Apr 22, 2018
Apr 23, 2018
Apr 23, 2018
May 2, 2018
May 2, 2018
May 2, 2018
Apr 12, 2018
Apr 23, 2018
Apr 23, 2018
Apr 23, 2018
Apr 23, 2018
May 2, 2018
Apr 25, 2018
Apr 23, 2018
May 2, 2018
Apr 16, 2018
Apr 23, 2018
Apr 23, 2018

Repository files navigation

mca204-networks

code style: prettier

Standard Networking Protocols using flask socketIO

For more details, refer the detailed readme

Todo

  • 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

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 to localhost: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, and selective-repeat.py

How to deploy

  • refer heroku docs for more info
  • git add . to stage everything
  • git status to verify
  • git 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 dyno
  • heroku open to see the app

Screenshots

Stop and Wait

Stop and Wait

Go Back N

Go Back N

Selective Repeat

Selective Repeat