Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Supplementary examples to go along with http://sailsjs.com/documentation/reference/configuration

Examples of configuring Sails with environment variables

Supplementary examples to go along with http://sailsjs.com/documentation/reference/configuration

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
@carpiediem
Copy link

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