Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 3.46 KB

README.md

File metadata and controls

59 lines (44 loc) · 3.46 KB

Application

Version Go GitHub repo size

Discord Channel GitHub pull request GitHub issues

Project

Describr your project HERE

Builds

Platform Build
MacOS MacOS Build
Ubuntu Ubuntu Build
Windows Windows Build

Workflow

Getting Started

To run it, simply download the latest release and define your environment variables. You can set environment type as dev if you want to use a .env file (store it in the same folder of your app).

You can also download our docker image and apply the environment variables to your container.

Enviroment Variables

NAME HOW TO USE
MYSQL_DBNAME database default database name
MYSQL_HOST database host
MYSQL_PORT database port
MYSQL_PASS database password
MYSQL_USER database username
ENV_LOG_LEVEL logrus log level for verbose ref
APP_IP app ip address
APP_HTTP_PORT app http port
APP_GRPC_PORT app grpc port
RATE_LIMITER_BURST rate limiter same request burst
RATE_LIMITER_RATE rate limit request per sec per user

Tests
go test ./tests -v

Build
RUN go build -o TARGET_NAME ./src/

Docker

docker pull lgrossi/go-scaffold:latest

Automation Image Size Pulls Build