Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Supplementary examples to go along with

Examples of configuring Sails with environment variables

Supplementary examples to go along with

sails_port=1492 sails lift
sails_port=1492 sails_mailgun__apiToken='token would be here' sails_models__connection=somePostgresqlServer sails_connections__somePostgresqlServer__password=l0lguyz sails lift

This comment has been minimized.

Copy link

@carpiediem carpiediem commented Aug 29, 2018

Should this solution also work when running tests in CircleCI? I can't seem to get it to work and I noticed that environmental variables are missing from the Order of precedence when starting programmatically in the Sails docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment