This project implements the JHU MT class leaderboard as a Google App Engine application. There are a few hard-coded variables (related to which assignment is active, how many there are, where links go), but it's pretty modular and relatively small.
To use it:
-
Clone it:
git clone [email protected]:mjpost/leaderboard
-
Check out the developer documentation and in particular the Python tutorial for instructions on how to download the test environment
-
Test it, make changes, etc:
dev_appserver.py leaderboard/
-
Copy
app.yaml.template' to
app.yaml`. Change the application ID line in there to match the app ID you created at appspot.com. -
Upload it with
appcfg.py --oauth2 update leaderboard/
The first time you do this, a browser window will open for you to authenticate.
-
You can then access it at APP_ID.appspot.com