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. - To setup and run the UI for the project kindly follow the instructions mentioned here.
- 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
- Install WSL in your windows machine.
- Install Golang in your WSL distro.
- Set the gopath in WSL.
- Open the project in VScode WSL window.
- Install all dependencies via
go get -v -u ./...
. - To start running,
make run
will start the service.
Please feel free to open any new-issue in case you encounter with any issues while setting up the development environment.