Hyperschedule: webapp for scheduling 5C courses quickly.
Check out https://hyperschedule.io!
Install Yarn. Then, install the NPM dependencies by running
in the project root. You are ready to run the webapp locally:
$ yarn dev
This will build the static files and serve them to
to use a different port, just export
PORT. By default, the webapp
expects the API to be running at
https://hyperschedule.herokuapp.com. If you're doing development on
the API locally, you'll want to override this by exporting
http://localhost:3000 (or similar). If exporting to
don't forget the
http, since otherwise Chrome's CORS policy will
block the request.
There are a few other Yarn tasks available, each runnable with
yarn <task>. The
dev task actually just runs
server task serves the built static files, while
watch compiles those files and recompiles when there is a change to
the source. You can build just once with the
build task, and remove
the built files with the
Deployment to Netlify happens automatically when a commit is merged to
master. If you have permission to manage the deployment pipeline,
the administrator dashboard is here.
src/js/vendor/ics-0.2.0.min.js was obtained by copying the
ics.deps.min.js from the repository
https://github.com/nwcell/ics.js at tag
and replacing the string
RRULE in one place to work
around an issue. Is it
horrifying? Yes. But does it work? Yes.