search

Home  >  Q&A  >  body text

php - What configurations need to be paid attention to when deploying laravel to the official server?

Now that the project development is completed, laravel needs to be deployed to the test server, but I am not clear about the folders and configurations in laravel that are not needed or should not be deployed to the server. All I know so far is to

APP_DEBUG=true

Set as:

APP_DEBUG=false

But what other things should we pay attention to? For example, which folders should not be uploaded, which configurations should be turned on or off, etc...
Thank you everyone.

曾经蜡笔没有小新曾经蜡笔没有小新2736 days ago599

reply all(2)I'll reply

  • 高洛峰

    高洛峰2017-05-27 17:45:21

    If you deploy using git, the vendor should not upload it.

    reply
    0
  • 为情所困

    为情所困2017-05-27 17:45:21

    For modifications to some configuration files in the config folder, composer installs the relevant components and regenerates the app key after uploading.

    reply
    0
  • Cancelreply