# README
Go Six Example
An example for how to use 6RiverSystems/gosix to build a simple application
Developing
Using make
:
make # does everything
There are other make
targets to run individual steps as well
Running
Using go run
:
go run ./cmd/server
Making a binary and running it
make binaries
./bin/service
Environment variables
How the app runs is controlled by several environment variables
NODE_ENV
- Set to one of
test
,acceptance
,development
, orproduction
- Defaults to
development
test
will default it to using SQLite instead of PostgreSQL
- Set to one of
LOG_LEVEL
- Set to one of
trace
,debug
,info
,warn
,error
- Defaults to
info
inproduction
, ordebug
elsewhere
- Set to one of
DATABASE_URL
- Set to either
postgres://...
orsqlite://...
to use a specific database
- Set to either
Debugging
There are vscode launch configs for the app.
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package version contains an auto-generated version constant, sourced from semrel when built in CI, or else `git describe` for developer builds.