We have our Kendo work folders under SVN to backup versions and share projects. Most of this is generated code and can get quite large. Can you tell me how to simply backup a Kendo project so that just the parts needed to recreate the app can be stored in SVN?
Hello,
Are you looking at a particular folder?
I think that the main suggestion is to exclude the node_modules folder. You can use the option to ignore files in SVN.
(In Git, you would use.gitignore.)
The node_modules folder is re-created when doing Generate/Preview or by running npm install.
You could also exclude the build-output folder. This is generated by running Publish.
You could do a backup of this folder if you publish it or distribute it to your customers.
I would keep all the other folders, even if they are generated from metadata.
I hope this helps.
Hi,
Hello,
Are you looking at a particular folder?
I think that the main suggestion is to exclude the node_modules folder. You can use the option to ignore files in SVN.
(In Git, you would use.gitignore.)
The node_modules folder is re-created when doing Generate/Preview or by running npm install.
You could also exclude the build-output folder. This is generated by running Publish.
You could do a backup of this folder if you publish it or distribute it to your customers.
I would keep all the other folders, even if they are generated from metadata.
I hope this helps.
Thanks to both of you. This works quite well. I removed the build-output and app/node_modules and was able to build the project successfully. The build-output saves around 20mb and the mode_modules a whopping 111mb on a small project. It's now under 2mb. I intend to exclude these from SVN and this should solve the problem. Thank you for the answers.