Skip to content

Instantly share code, notes, and snippets.

@twalling
Created September 18, 2012 12:38
Show Gist options
  • Select an option

  • Save twalling/3742877 to your computer and use it in GitHub Desktop.

Select an option

Save twalling/3742877 to your computer and use it in GitHub Desktop.
Bootstrap bash script which sets environment variables before running a Node.js application
#!/bin/bash
export INSTAGRAM_CLIENTID=INSERT_YOURS_HERE
export INSTAGRAM_CLIENTSECRET=INSERT_YOURS_HERE
export TWITTER_CONSUMERKEY=INSERT_YOURS_HERE
export TWITTER_CONSUMERSECRET=INSERT_YOURS_HERE
export TWITTER_ACCESSTOKENKEY=INSERT_YOURS_HERE
export TWITTER_ACCESSTOKENSECRET=INSERT_YOURS_HERE
node src/workers.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment