Skip to content

Instantly share code, notes, and snippets.

@rcy
Created March 20, 2014 20:27
Show Gist options
  • Save rcy/9673098 to your computer and use it in GitHub Desktop.
Save rcy/9673098 to your computer and use it in GitHub Desktop.
simple example of using settings in meteor
settings.json:
```
{"foo": 99}
```
app.js
```
if (Meteor.isServer)
console.log(Meteor.settings.foo);
```
startup:
```
meteor --settings settings.json
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment