we like to play games
- set up your go workspace: the tractor project should be in
$GOPATH/src/github.com/eycai/tractor
. I use the default$GOPATH
but you can change this as desired. However, everything after the$GOPATH
is nonnegotiable due to the way go works :( - set up client:
brew install yarn
cd client
yarn build
make docker-build
: builds docker image, server running atlocalhost:8080
make docker-cleanup
: clean up docker container and image fromdocker-build
- for local dev:
make server
to start go server atlocalhost:8080
, andmake app
to build client, running atlocalhost:3000