Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on Linux
reward system to incentivize customer loyalty.
GitHub didn't answer, so this is the saved copy from 15 h ago
Will it work on Linux?
Heads-upIt also needs 6 settings in .env (1 secret).
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
git clone https://github.com/Edmartt/loyalty-system.git cd loyalty-system
Go 1.22.0
sudo snap install go --classic # or https://go.dev/dl/
Fill in secrets: PG_PASSWORD
cp .env.example .env
go mod download
go test ./...
git clone https://github.com/Edmartt/loyalty-system.git
or ssh instead:
git clone git@github.com:Edmartt/loyalty-system.git
browse into project directory:
cd loyalty-system/
download dependencies
go mod tidy
install tool for migrations
go install github.com/rubenv/sql-migrate/...@latest
set environment variables following the .env.example file for go specific use and run
set environment variables following the .envrc.example file for migrations config dbconfig.yml
No reports for Linux yet.
GitManual AI Agent reads the 6 key files and writes a step-by-step guide for Linux. Once written, it's saved for everyone.