Retrieves and uses data from UBC Course Schedule.
Make sure you have Go
, make
, Docker
installed
To get the code (to your $GOPATH
):
go get -d github.com/smart-cs/scheduler-backend
By default, your $GOPATH
is ~/go
. If you haven't changed it, the repository should end up in ~/go/src/github.com/smart-cs/scheduler-backend
To run the server locally:
make run
$ make help
clean Clean up
deploy Deploy to Heroku. Requires to be logged in on Heroku Registry.
deps Download dependencies
generate-apidocs Generates API docs from docs/api.yml. Requires Spectacle.
help List targets & descriptions
run-docker Build Docker image and run it interactively locally
run Build and run locally on port 8080 by default or $PORT if set
test-coverage Run tests with coverage
test Run tests