8000 GitHub - elvinup/weather-milliseconds: Experiment to render a forecast as fast as possible
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Experiment to render a forecast as fast as possible

License

Notifications You must be signed in to change notification settings

elvinup/weather-milliseconds

 
 

Repository files navigation

Experiment to render the weather forecast as fast as possible. Goal is sub 100ms. ~40 milliseconds if you're in Indy.

Set-up

python3 -m venv venv && source venv/bin/activate && pip3 install -r requirements.txt && FLASK_APP=app.py FLASK_DEBUG=1 python -m flask run --port=5001

Good resources

Production setup

sudo python3 -m venv venv
source venv/bin/activate
sudo -H pip3 install -r requirements.txt
sudo python3 app.py 

Run forever

forever wasn't working, so I used a screen.

FLASK_APP=app.py start -c python3 app.py --port=5001

About

Experiment to render a forecast as fast as possible

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 64.9%
  • Python 35.1%
0