Skip to content
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

Request, simple production deployment guide or automation? #112

Open
Seda145 opened this issue Jan 28, 2022 · 0 comments
Open

Request, simple production deployment guide or automation? #112

Seda145 opened this issue Jan 28, 2022 · 0 comments

Comments

@Seda145
Copy link

Seda145 commented Jan 28, 2022

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:

  1. .env: change APP_SECRET to a random value, other than the default

  2. .env: set or add APP_ENV=prod

  3. .env: set or add APP_DEBUG=0

  4. 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant