Please follow the following steps in order to set up your development environment.
- Install Golang +1.10.x (assuming
git
is already installed). - Make a default repository for cloning the project. This should be strictly inside the
GOPATH
. Paste this instruction in your terminal to get started.mkdir -p $GOPATH/src/github.com/bench-routes
. - Navigate to the directory via
cd $GOPATH/src/github.com/bench-routes
. - Clone the repository via
git clone https://github.com/bench-routes/bench-routes.git
. - Navigate into the cloned repo
cd bench-routes
. - Install all dependencies via
go get -v -u ./...
. - To start running,
make run
will start the service.
- Make sure docker is installed, and your user is in the docker group.
- Run
docker build -t bench-routes .
- Run
docker run -p 9990:9990 -it bench-routes
Please feel free to open any new-issue in case you encounter with any issues while setting up the development environment.