uruk

module
v0.0.0-...-dc32568 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2020 License: GPL-3.0

README

Uruk

Example of Go project.

Getting started

Requirements

Set up Go paths.

mkdir -p ~/Projects/go/
mkdir -p ~/Library/go/

~/.bash_profile

# Set up GOROOT
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin

# Set up GOPATH for libraries 
export GOPATH=~/Library/go
export PATH=$PATH:$GOPATH/bin

# Set up GOPATH for projects
export GOPATH=$GOPATH:~/Projects/go

Set up project.

cd ~/Projects/go/
mkdir -p ~/Projects/go/github.com/ksysctl/uruk
git clone git@github.com:ksysctl/uruk.git github.com/ksysctl/uruk

Development

Run project build and bring services up.

make build

Run rebuild project.

make rebuild

Bring services up.

make up

Bring services down.

make down

Show the services logs.

make logs

Clean and format source code.

make clean

Update dependencies.

make deps

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL