Another Meteor boilerplate with Mantra, React, Styled Components & more...
$ meteor npm install
$ meteor npm start
Important: prefix npm commands with meteor for avoid performance & compatibility issues (eg: meteor npm start, read this discussion).
npm start
- start your meteor server with settings-development.jsonnpm run lint -s
- lint all javascript filesnpm run lint:fix -s
- lint all javascript files and autofix problems
Note that -s option is a shortcut for --loglevel=silent that makes the log output a little tidier and hides npm errors if the script exits with an error status (non-zero exit code).
Don't push keys in your code, push them in settings file.
settings-development.json
should only contain values used for testing.settings-production.json
should only contain values used in production.
For security purposes settings-production.json
is ignored to prevent from being stored into version control.
Read this article for more info about Meteor settings.
- Now (with Meteor Now)
- Heroku (with Meteor Buildpack Horse)
- Galaxy
- Anywhere (with Meteor Up)
MIT © marioblas