- Go
- PostgreSQL
- Create a new
skynet_dev
database - Export database connection environment variables, e.g.
export SKYNET_DEV_DB_HOST=localhost
export SKYNET_DEV_DB_PORT=5432
export SKYNET_DEV_DB_DBNAME=skynet_dev
export SKYNET_DEV_DB_USER=postgres
export SKYNET_DEV_DB_PASSWORD=postgres
git clone https://github.com/lmuench/skynet.git
cd skynet
- Install all dependencies with
go get ./...
- Start app with
go run cmd/skynet/main.go
- Navigate your browser to http://localhost:3030/graphiql/
- Query data, e.g.
{
prototypes {
name
units {
health
}
}
}