Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on Windows
reward system to incentivize customer loyalty.
GitHub didn't answer, so this is the saved copy from 15 h ago
Will it work on Windows?
Heads-upIt also needs 6 settings in .env (1 secret).
Then run powershell -ExecutionPolicy Bypass -File .\setup.ps1. 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.
Needs Git: winget install Git.Git
git clone https://github.com/Edmartt/loyalty-system.git cd loyalty-system
Go 1.22.0
winget install GoLang.Go
Fill in secrets: PG_PASSWORD
Copy-Item .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 Windows yet.
GitManual AI Agent reads the 6 key files and writes a step-by-step guide for Windows. Once written, it's saved for everyone.