Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.49 KB

File metadata and controls

40 lines (29 loc) · 1.49 KB

scheduler-backend

CircleCI Go Report Card codecov

Retrieves and uses data from UBC Course Schedule.

Developing

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 Commands

$ 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