Reputation: 17410
I'm deploying my Rails project on a hosting.
What folders and files can i safely remove from Rails project, that needed only in development ?
Upvotes: 1
Views: 163
Reputation: 79
Basically, you can remove whatever files are present inside the .gitignore
file.
For eg, Files that are present inside the log, tmp
folders can be removed. etc.
You'll be amazed to know what kind of memory these log files are keeping.
Upvotes: 0
Reputation: 21690
spec, test, doc, log
(only delete the contents of log
, not the folder itself)
Upvotes: 1
Reputation: 1300
As far as i know we can remove the documentation and test folders as they were not being used in production environment.
Upvotes: 1