bwstreams is a Python 2 Google App Engine app that tracks Brood War streams from AfreecaTV. See it live at https://bwstreams.appspot.com.
- Install the Google Cloud SDK
- Open Google Cloud SDK Shell
- Downgrade gcloud version (later versions are broken!): gcloud components update --version 359.0.0
- Run dev_appserver.bat (or run the command
dev_appserver.py app.yaml
using Python 2)
- gcloud app versions list
- gcloud app versions delete
- gcloud meta list-files-for-upload
- gcloud app deploy
Visit http://localhost:8080/admin/initialise_database to initialise a new database from a preset list, .
Use the admin control panel http://localhost:8080/admin.html to add, edit or remove streams.
The app refreshes stream information every minute. Visit http://localhost:8080/admin/update_database to manually trigger a refresh.
All the stream information can be found at http://localhost:8080/streams.json.
Description | Local Dev Link | Hosted Link |
---|---|---|
Main page | http://localhost:8080 | https://bwstreams.appspot.com |
Stream list (barebones) | http://localhost:8080/afreeca_database.json | https://bwstreams.appspot.com/afreeca_database.json |
Initialise database | http://localhost:8080/admin/initialise_database | https://bwstreams.appspot.com/admin/initialise_database |
Admin control panel | http://localhost:8080/admin.html | https://bwstreams.appspot.com/admin.html |
Trigger update | http://localhost:8080/admin/update_database | https://bwstreams.appspot.com/admin/update_database |
Stream information | http://localhost:8080/streams.json | https://bwstreams.appspot.com/streams.json |
Google Cloud Dashboard | https://console.cloud.google.com/home/dashboard?project=bwstreams |