Skip to content

Instantly share code, notes, and snippets.

@etscrivner
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save etscrivner/62bc3ed52b73e6317709 to your computer and use it in GitHub Desktop.
Save etscrivner/62bc3ed52b73e6317709 to your computer and use it in GitHub Desktop.
Sample shell script to set environment variables for twelve-factor application
#!/bin/sh
export MY_APP_NAME=superslice
export MY_APP_AWS_KEY=super-secret
export MY_APP_AWS_SECRET_KEY=super-super-secret
# Finally, call whatever command comes after this
$*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment