The master folder
Create a master folder which will hold
the .env file to be copied into each deployment
the storage folder so that it survives deployments
If your website name is example.org then navigate to the ~/www/example.org folder. Then execute the following;
This will create the required empty folder structure for your laravel project's storage
Files that are stored in this storage folder will persist between deployments and give zero downtime.
Note that this folder structure is within the folder named after your site.
Last updated