XpycT / greenlight

Let's Go Further code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to GreenLight 👋

Let's Go Further book code

Install

# Install the migrate CLI tool.
curl -L https://github.com/golang-migrate/migrate/releases/download/v4.15.1/migrate.linux-amd64.tar.gz | tar xvz
mv migrate.linux-amd64 /usr/local/bin/migrate

# Copy and fill .env file
cp .env.example .env

# Run migrations
make db/migrations/up

# Validate and install vendor libraries
make vendor
make audit

Usage

make run/api

Build

make build/api

About

Let's Go Further code


Languages

Language:Go 90.2%Language:Makefile 5.0%Language:Shell 4.8%