Skip to content

Instantly share code, notes, and snippets.

@bxcodec
Last active November 11, 2025 16:36
Show Gist options
  • Select an option

  • Save bxcodec/828d1fd003f0834770d7b579fec1df47 to your computer and use it in GitHub Desktop.

Select an option

Save bxcodec/828d1fd003f0834770d7b579fec1df47 to your computer and use it in GitHub Desktop.
How to run the application

First, build,

$ go build -o ./engine application/main.go

Running the rest API server

$ ./engine rest
$ ./engine rest --config .env.production

Running the cron (invoked by Crontab/Cronjob)

$ ./engine cron-update-payment
$ ./engine cron-update-payment --dry-run
$ ./engine cron-update-payment --batch-size 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment