/neptune-mantra

🔱 Another Meteor boilerplate with Mantra, React, Styled Components & more...

Primary LanguageJavaScriptMIT LicenseMIT

Neptune

MIT License Dependency Status devDependency Status

Another Meteor boilerplate with Mantra, React, Styled Components & more...

Quick start

$ meteor npm install
$ meteor npm start

Commands

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.json
  • npm run lint -s - lint all javascript files
  • npm 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).

Settings

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.

Deployment

License

MIT © marioblas