Make a copy of config.yaml
and name it config.dev.yaml
. The new file will need the following properties in addition to what's already present.
- csrfTokenKey: Take the value returned by the script below
go run scripts/generate_32_byte_key/generate_32_byte_key.go
- hmacKey: Take the value returned by the script below
go run scripts/generate_32_byte_key/generate_32_byte_key.go
- baseURL: See the section below on
- mysqlUserName: Take from
docker-compose.yaml
- mysqlPassword: Take from
docker-compose.yaml
- mysqlHost:
localhost
- mysqlPath: The database path you'd like to create for your application
- redisHost:
localhost
cd server
docker-compose up
Setup ngrok tunnel
ngrok http 8080
From the output, copy the https forwarding URL to your clipboard, and paste it into config.dev.yaml
go run --tags dev server.go
go run scripts/update_webhook/update_webhook.go
cd client
gatsby develop
Once started, UI should be available at http://localhost:8080/