Go Backend for Icarus
Do not clone with git!
Please run
go get github.com/Pitt-CSC/icarus-backend
to download the files, which will install them into the correct location ($GOPATH/src/github.com/Pitt-CSC/icarus-backend
)
Despite having a Goopfile, we're currently not actually using Goop. The dependencies thus far are:
Please install them both with go get
after cloning the repo.
Before running any code, you need to migrate the database. You can do this using
go run lib/migrate.go
You will also need to re-run this script any time a model's structure is updated, and whenever new models are added.
go build
./icarus-backend