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 in your .gitignore
?
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 in your .gitignore
?
you will need to put installed packages directory named node_modules which is located in root directory. and while you commit project it will be ignored. also product manager can easily install packages in their server using package.json.
According to this article, you should ignore your
settings.json
, especially if you have environment specific information to include API keys.you can use this site https://www.gitignore.io/ to generate a .gitignore file for any project , just insert the thechnologies you use and your IDE
This is the .gitignore file I use with Intellij:
.meteor/local is the only thing you want missing from version control.
Meteor automatically generates a .gitignore file that would fit your needs.
If it's a public repository you'll likely want to include "settings-development.json" or any other JSON files containing information you don't want to disclose to the public such as AWS API keys.
However Bitbucket and some others provides free private repositories which should fit your needs.