Gravity
Search…
⌃K

Environment Variables

Sensitive information like API keys and tokens are stored inside the .env file within the server.
When deploying your application, you should ensure you have these values set up in your production server environment and ignore the .env file included with Gravity as this is for development purposes only.
Below is a list of the variables used in Gravity. Require variables will be populated for you during the setup process.
STRIPE_SECRET_API_KEY=
MAILGUN_API_KEY=
CLIENT_URL=http://localhost:3000
MISSION_CONTROL_CLIENT=http://localhost:5002
TOKEN_SECRET=
CRYPTO_SECRET=
SESSION_SECRET=
SUPPORT_EMAIL=
GENERATE_SOURCEMAP=false
INLINE_RUN_CHUNK=true
FACEBOOK_APP_ID=
FACEBOOK_APP_SECRET=
TWITTER_API_KEY=
TWITTER_API_SECRET=
AWS_ACCESS_KEY
AWS_SECRET_ACCESS_KEY=
S3_REGION=
S3_BUCKET=
PRODUCTION_DOMAIN=
DB_USER=
DB_PASSWORD=
DB_HOST=
DB_CLIENT=
DB_NAME=
DB_PORT=
ENABLE_API_LOGS=true
STORE_EVENT_LOGS=true
APP_NAME=