Last active
March 2, 2017 15:44
-
-
Save davidmyersdev/b3d180d8fc2c469eba42ce470d49869d to your computer and use it in GitHub Desktop.
Revisions
-
David R. Myers II revised this gist
Jun 13, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -6,12 +6,12 @@ Commands to help the project setup process. By adding the following script to your `composer.json`, running `composer install` will automatically create your `.env` file and generate a new app key if the file doesn't exist yet (this now runs after the install, because artisan doesn't work until the packages are installed). ```json { "scripts": { "post-install-cmd": [ "php -r \"if (!file_exists('./.env')) { copy('./.env.example', './.env'); exec('php artisan key:generate'); }\"" ] } -
David R. Myers II revised this gist
Apr 28, 2016 . No changes.There are no files selected for viewing
-
David R. Myers II revised this gist
Apr 28, 2016 . 2 changed files with 19 additions and 7 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ # Laravel Helpers ## Project Setup ### Composer Commands Commands to help the project setup process. By adding the following script to your `composer.json`, running `composer install` will automatically create your `.env` file and generate a new app key if the file doesn't exist yet (this runs prior to the actual install too). ```json { "scripts": { "pre-install-cmd": [ "php -r \"if (!file_exists('./.env')) { copy('./.env.example', './.env'); exec('php artisan key:generate'); }\"" ] } } ``` 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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +0,0 @@ -
David R. Myers II created this gist
Apr 28, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ { "scripts": { "pre-install-cmd": [ "php -r \"if (!file_exists('./.env')) { copy('./.env.example', './.env'); exec('php artisan key:generate'); }\"" ] } }