cmd
cmd copied to clipboard
Development
Development is optimized for OSX but you should be able to find equivalents of everything for Linux and probably Windows.
Go Dependencies
The cmd project is written in Golang, so
install the latest version of go for
the platform. From here, make sure your GOPATH is set and the cmd project is
cloned to $GOPATH/src/github.com/gliderlabs/cmd (this location is important). In some
cases you need to add $GOPATH/bin to your $PATH variable so the built binaries
are executable by following commands.
OSX Dependencies
- Docker for Mac (we develop against the Edge channel)
- Homebrew so you can
brew bundlethe rest
Linux Dependencies
Since each distribution of Linux has different packaging tools will need to translate these dependencies for your own distribution.
makeis required- Docker Community Edition
docker-composeis also required and if not available as a package for your environment, can be installed viapip.hugois required to make the 'www-dev' target
Steps
- make setup - (Installs minor utilities)
- make build
If these steps fail or you need to run them again make clobber between builds.