Created
September 24, 2018 11:32
-
-
Save sergix44/88f42d68d74da7d1fc375083b599e7be to your computer and use it in GitHub Desktop.
Laravel install script
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # Laravel install script | |
| PHP_PATH=php | |
| cp .env.example .env | |
| nano .env | |
| $PHP_PATH composer.phar install --no-dev | |
| $PHP_PATH artisan key:generate | |
| $PHP_PATH artisan storage:link | |
| $PHP_PATH artisan config:cache | |
| $PHP_PATH artisan route:cache | |
| $PHP_PATH artisan migrate --seed | |
| npm install | |
| npm run production | |
| echo 'Installation finished.' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment