You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I read the available documentation on how to configure Bolt for production
but there is no complete list of what files are unrequired or unsafe to store on the production environment.
I follow these steps to prepare my environment for uploading to the web host:
Ensure:
.env: change APP_SECRET to a random value, other than the default
.env: set or add APP_ENV=prod
.env: set or add APP_DEBUG=0
Upload anything except the following:
~/.vs/
~/.vscode/
~/.env.local
~/.git/
~/bin/post-create-project.php
~/var/cache/
~/var/data/ (if not used for sqlite)
~/var/log/
Unused themes
Unused theme files (dev util js, Less / css maps, css var file generated from less, etc)
Any other remaining .local or local files must be compared to the Bolt documentation as they should not be committed (when working with other people) or in production.
Remaining developer files like vscode workspace file, executable files (bat etc) if present.
So at this point I have no automation and do not know what should be removed from production.
I checked the bolt/simple-deploy repo but see that it has issues and isn't well documented.
Can I get a list of default files which should be removed after the initial installation and development process?
The text was updated successfully, but these errors were encountered:
I read the available documentation on how to configure Bolt for production
but there is no complete list of what files are unrequired or unsafe to store on the production environment.
I follow these steps to prepare my environment for uploading to the web host:
Ensure:
.env: change APP_SECRET to a random value, other than the default
.env: set or add APP_ENV=prod
.env: set or add APP_DEBUG=0
Upload anything except the following:
So at this point I have no automation and do not know what should be removed from production.
I checked the bolt/simple-deploy repo but see that it has issues and isn't well documented.
Can I get a list of default files which should be removed after the initial installation and development process?
The text was updated successfully, but these errors were encountered: