Last active
November 12, 2017 21:59
-
-
Save MN-dev/97378073861c936f6a6580c045dbbf1d to your computer and use it in GitHub Desktop.
test deploying a laravel application to dokku: composer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scripts": { | |
"post-install-cmd": [ | |
"php artisan optimize", | |
"chmod -Rvc 777 app/storage", | |
"chmod -R 777 public", | |
"php artisan cache:clear", | |
"php artisan migrate" | |
], | |
"post-update-cmd": [ | |
"php artisan clear-compiled", | |
"php artisan optimize" | |
], | |
"post-create-project-cmd": [ | |
"php artisan key:generate" | |
] | |
}, | |
"config": { | |
"preferred-install": "dist" | |
}, | |
"extra": { | |
"heroku": { | |
"framework": "silex", | |
"document-root": "public", | |
"index-document": "index.php" | |
} | |
}, | |
"minimum-stability": "dev", | |
"prefer-stable": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment