-
Notifications
You must be signed in to change notification settings - Fork 790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Uneccesary Production Files #827
Comments
Hi, I've removed the folders "/_one-click-installation", "/_pictures", "/tests", "application/_installation". |
@elbenjaz Thanks for the reply...I have done the same regarding those files. I was looking a bit deeper like in the vendor folder...Items such as: PHPUnit |
I'n not completely in tune with what those scripts do and what purpose they have in the app. Therefore, I was hoping for answers here. |
:) Hey, the only files that are needed are: application/. The rest is just for tests, auto-installation, images for the repo etc... |
@panique Hey Chris, What about gregwar/captcha, phpmailer, and the composer folder? I assume those are necessary? |
Wow, I am really not up to date on Composer and the proper ways to use it. ughhhhh.... If I am right, the vendor folder is needed as well as whatever dependencies are needed for HUGE to run properly. Such as PHP mailer and Gregwar Captcha. I'm thinking, for production, I can delete the vendor folder completely, Remove the "require-dev" entries completely from composer.json and then run composer and require only the dependencies needed for php mailer and captcha. Am I correct in this thinking? Sorry for being such a newbie. |
:) You'll definitly need the vendor folder in production too, as it holds all the external libraries you (or your framework or both) need, so there's not really a big difference between dev/test/production (except testing etc), please just have a look on all the awesome tutorials on composer, it's really easy to understand and it will make your development so much easier and faster and cleaner :) |
Hey Everyone,
Is there any documentation on which folders/files can be removed in production. I know there is quite a bit used for testing and such but I feel those files are not suited or needed on a live server.
Can anyone help with this a bit?
The text was updated successfully, but these errors were encountered: