Skip to content

EastsidePreparatorySchool/epschedule

Repository files navigation

EPSchedule

Test Status Uptime Robot ratio (30 days) License: MIT Code style: black

A schedule app for Eastside Preparatory School, built with Google App Engine and Polymer.

Running EPSchedule locally

EPSchedule is designed to be extremely easy to get running locally - all you need are git, Python 3.7+, and pip. To set it up, just run:

git clone https://github.com/guberti/epschedule.git
cd epschedule
pip install -r requirements.txt

You'll then need to get service account credentials to access sensitive user data, like schedules, photos, and crypto keys. Email Justin Uberti ([email protected]) and we'll send you a file - epschedule-v2-xxxx.json - which should be renamed to service_account.json and put in your epschedule folder. Then, just run

python main.py

and navigate to http://localhost:8080/, where a local version of EPSchedule will be running!

Development

Code style

We try to follow the Black Python and Google JavaScript style guides. To auto-format your Python code, run

black .
isort . --profile black

from the command line.

Running unit tests

We use the pytest framework to test our Python code, and tests are run against all pull requests. To run the tests locally, simply run

pytest

from the command line.

Contributing a patch

From your fork of the epschedule repo, submit a pull request. Be sure that all tests pass, and you have followed the code style guides mentioned above.

Updating the master schedule

To recrawl or manually adjust the master period schedule (master_schedule.json), follow the instructions at this link.

More details

For more details, see the EPSchedule wiki.

About

A schedule app for Eastside Preparatory School

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published