Skip to content

2. Installing and Setting up

Rafał Lorenz edited this page Jun 30, 2019 · 6 revisions

Installation

git clone [email protected]:vardius/go-api-boilerplate.git

Vendor

Build the module. This will automatically add missing or unconverted dependencies as needed to satisfy imports for this particular build invocation

go build ./...

Configuration

Remember to change all imports from github.com/vardius/go-api-boilerplate/* to your-repository/*

Localhost alias

Edit /etc/hosts to add localhost alias

➜  go-api-boilerplate git:(master) cat /etc/hosts
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1       localhost go-api-boilerplate.local

Clone this wiki locally