I have a new meteor project. I\'m guessing the .meteor
dir has a combination of configuration files (needed) and temporary files (not needed).
So what\'s i
This is the .gitignore file I use with Intellij:
node_modules/
.meteor/local/*
.idea/
npm-debug.log
packages/*/.npm/
You might want to put any configuration settings files in there if you are pushing to a public repos.
I store any security sensitive data configuration settings like encryption keys and various passwords for services like smtp, twitter, facebook and others in a config.js and then put that in .gitignore or in the info/exclude file. Stuff I don't want in a public repo.
Just an additional suggestion to consider for your .gitignore
According to this article, you should ignore your settings.json
, especially if you have environment specific information to include API keys.
With meteor 1.3 you want to also ignore node_modules
. There is no reason to have all of the libraries added to git because you can install them through npm. The node_modules
folder most likely is larger than your app (excluding the .meteor/local
folder)
Meteor creates a .gitignore
in the .meteor
directory by default.
However, your project's .gitignore
should exclude any sensitive data config files and node_modules
.
if you use
.idea
folder sublime-project
sublime-workspace
if you are mac user you can ignore DS_Store
and if you use npm ignore npm
cause if both windows and mac user work on same project, as the same npm version is different for mac and windows it shows error.