Skip to content

Instantly share code, notes, and snippets.

@Meroje-snippets
Created April 3, 2012 17:10
Show Gist options
  • Save Meroje-snippets/2293745 to your computer and use it in GitHub Desktop.
Save Meroje-snippets/2293745 to your computer and use it in GitHub Desktop.

Revisions

  1. Meroje-snippets renamed this gist Apr 3, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. Meroje-snippets renamed this gist Apr 3, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. Meroje-snippets created this gist Apr 3, 2012.
    25 changes: 25 additions & 0 deletions Boxfile - Laravel
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    global:
    env:
    - LARAVEL_ENV: production
    web1:
    name: your-app-name
    shared_writable_dirs:
    - /storage/cache
    - /storage/database
    - /storage/logs
    - /storage/sessions
    - /storage/views
    - /storage/work
    document_root: /public
    php_version: 5.3.8
    php_extensions:
    - pdo_mysql
    - mcrypt
    - apc
    - memcache
    before_deploy:
    - "php artisan migrate:install"
    - "php artisan migrate"
    after_deploy:
    - "rm -f storage/cache/*"
    - "rm -f storage/views/*"