README.md 654 B

ACCOUNT TIMETABLE SERVICE

Develop

yarn

ENV

# if DEBUG=1, will show all debug logs
DEBUG=1
DB_HOST=127.0.0.1
DB_NAME=meeton
DB_USER=root
DB_PASS=
PORT=
# time scale, using for event system. for examle:
# DEV_TIMESCALE=0.0006944444444444445
# makes 1 day become 1 min.
DEV_TIMESCALE=

Service

Using following command to start server.

yarn run start

Task

Using following command to start task runner.

yarn run start_task

Scripts

Using following command to run script.

yarn run script -- ./lib/scripts/__SCRIPT_NAME__.js

Looking for src/scripts folder to geet __SCRIPT_NAME__.