Skip to content

Commit

Permalink
Added the laravel default folder storage/framework/cache to writable …
Browse files Browse the repository at this point in the history
…folders array (#3302)

* added storage/framework/cache/data as writable folder

* regenerate docs
  • Loading branch information
juliangarcess authored Oct 27, 2022
1 parent d5241ac commit bc708be
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 43 deletions.
87 changes: 44 additions & 43 deletions docs/recipe/laravel.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `r
'storage/app/public',
'storage/framework',
'storage/framework/cache',
'storage/framework/cache/data',
'storage/framework/sessions',
'storage/framework/views',
'storage/logs',
Expand All @@ -100,7 +101,7 @@ Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `r


### log_files
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L21)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L22)



Expand All @@ -110,7 +111,7 @@ Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `r


### laravel_version
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L22)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L23)



Expand All @@ -125,327 +126,327 @@ return $matches[0][0] ?? 5.5;
## Tasks

### artisan:down
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L89)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L90)

Puts the application into maintenance / demo mode.




### artisan:up
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L92)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L93)

Brings the application out of maintenance mode.




### artisan:​key:generate
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L99)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L100)

Sets the application key.




### artisan:passport:keys
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L102)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L103)

Creates the encryption keys for API authentication.




### artisan:db:seed
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L109)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L110)

Seeds the database with records.




### artisan:migrate
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L112)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L113)

Runs the database migrations.




### artisan:migrate:fresh
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L115)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L116)

Drops all tables and re-run all migrations.




### artisan:migrate:rollback
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L118)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L119)

Rollbacks the last database migration.




### artisan:migrate:status
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L121)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L122)

Shows the status of each migration.




### artisan:cache:clear
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L128)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L129)

Flushes the application cache.




### artisan:config:cache
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L131)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L132)

Creates a cache file for faster configuration loading.




### artisan:config:clear
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L134)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L135)

Removes the configuration cache file.




### artisan:event:cache
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L137)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L138)

Discovers and cache the application\'s events and listeners.




### artisan:event:clear
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L140)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L141)

Clears all cached events and listeners.




### artisan:event:list
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L143)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L144)

Lists the application\'s events and listeners.




### artisan:optimize
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L146)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L147)

Cache the framework bootstrap files.




### artisan:optimize:clear
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L149)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L150)

Removes the cached bootstrap files.




### artisan:route:cache
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L152)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L153)

Creates a route cache file for faster route registration.




### artisan:route:clear
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L155)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L156)

Removes the route cache file.




### artisan:route:list
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L158)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L159)

Lists all registered routes.




### artisan:storage:link
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L161)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L162)

Creates the symbolic links configured for the application.




### artisan:view:cache
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L164)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L165)

Compiles all of the application\'s Blade templates.




### artisan:view:clear
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L167)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L168)

Clears all compiled view files.




### artisan:queue:failed
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L174)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L175)

Lists all of the failed queue jobs.




### artisan:queue:flush
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L177)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L178)

Flushes all of the failed queue jobs.




### artisan:queue:restart
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L180)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L181)

Restarts queue worker daemons after their current job.




### artisan:horizon
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L183)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L184)

Starts a master supervisor in the foreground.




### artisan:horizon:clear
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L186)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L187)

Deletes all of the jobs from the specified queue.




### artisan:horizon:continue
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L189)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L190)

Instructs the master supervisor to continue processing jobs.




### artisan:horizon:list
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L192)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L193)

Lists all of the deployed machines.




### artisan:horizon:pause
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L195)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L196)

Pauses the master supervisor.




### artisan:horizon:purge
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L198)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L199)

Terminates any rogue Horizon processes.




### artisan:horizon:status
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L201)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L202)

Gets the current status of Horizon.




### artisan:horizon:terminate
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L204)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L205)

Terminates the master supervisor so it can be restarted.




### artisan:​telescope:clear
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L211)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L212)

Clears all entries from Telescope.




### artisan:​telescope:prune
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L214)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L215)

Prunes stale entries from the Telescope database.




### artisan:octane
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L221)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L222)

Starts the octane server.




### artisan:octane:reload
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L224)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L225)

Reloads the octane server.




### artisan:octane:stop
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L227)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L228)

Stops the octane server.




### artisan:octane:status
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L230)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L231)

Check the status of the octane server.




### deploy
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L236)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L237)

Deploys your project.

Expand Down
Loading

0 comments on commit bc708be

Please sign in to comment.