Meteor app version control


#1

I am building an app and i want to push the changes i have been making to Atlassian Bitbucket private repo. I tried copying my app folder and it was massive,am guessing the meteor packages made it that big.

My app(code i have written) could only add up to a few mbs. Is there some git guidelines that could help me figure out which files to push and which to ignore?.

Thanks.


#2

Put node_modules in your .gitignore as well as any build folders. Also check the size of your public assets folder.

I have a very large production app, it’s only around 1.5mb without assets.


#3

My gitignore contains (Im using Webstorm as IDE):

/.idea
npm-container/*
!npm-container/index.js
!npm-container/package.js
!packages.json
.idea

Just need to connect that: https://bitbucket.org/atlassian/jetbrains-bitbucket-connector

Check this video too: https://www.youtube.com/watch?v=klfLSRXUOzY