Running locally
Dependencies:
- Git
- Go 1.20 or above
- PostgreSQL 13.2 or above
Clone the repo
git clone git@github.com:raystack/frontier.gitInstall all the golang dependencies
make installOptional: build frontier admin ui
make admin-appBuild frontier binary file
make buildInit config
cp internal/server/config.yaml config.yaml
./frontier config initRun database migrations
./frontier server migrate -c config.yamlStart frontier server
./frontier server start -c config.yamlRunning tests
# Running all unit tests
$ make test
# Print code coverage
$ make coverage