AntonAL
AntonAL

Reputation: 17410

What files can i remove in production

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

Answers (3)

Muhammad Shazar
Muhammad Shazar

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

Reactormonk
Reactormonk

Reputation: 21690

spec, test, doc, log (only delete the contents of log, not the folder itself)

Upvotes: 1

ssri
ssri

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

Related Questions