-
Default config file is
conf/config.yml
, you may renameconf/config.example.yml
and edit it as you prefer. -
You may override the default config file path by setting environment variable
CONFIG_PATH
-
You may also use environment variable as config by setting
USE_ENV_CONFIG=true
, seeexample.env
for detail.
- Use
build.sh
to produce binary asoutput/goldennum
. The script is as simple as runninggo build
and move the binary tooutput/
.
run.sh
will export all environment variable from.env
, you may renameexample.env
and edit it as you prefer.
NOTICE: default settings use in memory sqlite, which means you will lost all of the data after restart the program. You should change sqlite path to file path or use mysql instead for data persistence.
TODO