Skip to content

Instantly share code, notes, and snippets.

@connor11528
Created July 11, 2017 21:09
Show Gist options
  • Save connor11528/fcfbdb63bc9633a54f40f0a66e3d3f2e to your computer and use it in GitHub Desktop.
Save connor11528/fcfbdb63bc9633a54f40f0a66e3d3f2e to your computer and use it in GitHub Desktop.

Revisions

  1. Connor Leech created this gist Jul 11, 2017.
    14 changes: 14 additions & 0 deletions create_laravel_app.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    #!/bin/bash

    laravel new $1
    cd $1
    composer install
    yarn install
    touch README.md
    cp .env.example .env
    git init
    git add -A
    git commit -m 'Initial commit'
    php artisan key:generate
    php artisan config:clear
    php artisan config:cache