Documentation
About
Running Gen-Server Locally
After installing Cozy Creator, you want to run the gen-server and get it running. To do this, you need to start the gen-server with the command below:
cozy run
On startup, the Cozy Gen Server loads its configuration variables from several possible sources; this is the order of precedence:
- Command-line arguments (ex;
cozy run --environment=development
) - Environment variables (ex;
export ENVIRONMENT=development
) - .env file (ex;
cozy run --env-file "./.env"
) - Secrets directory (ex;
cozy run --secrets-dir="/run/secrets"
) - Yaml config file (ex;
cozy run --config-file ./config.yaml
) - Default settings