Skip to content

Instantly share code, notes, and snippets.

@qa1
Last active October 20, 2021 07:38
Show Gist options
  • Select an option

  • Save qa1/e6df203a19f7db7498b731318dfe2a12 to your computer and use it in GitHub Desktop.

Select an option

Save qa1/e6df203a19f7db7498b731318dfe2a12 to your computer and use it in GitHub Desktop.

Revisions

  1. qa1 revised this gist Oct 20, 2021. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion laravel starter pack
    Original file line number Diff line number Diff line change
    @@ -23,4 +23,5 @@ php artisan make:auth
    php artisan thinker
    App\Models\User::factory()->create()
    php artisan make:migration create_products_table --create=products
    php artisan make:controller ProductController --resource --model=Product
    php artisan make:controller ProductController --resource --model=Product
    php artisan make:model Todo
  2. qa1 revised this gist Oct 18, 2021. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion laravel starter pack
    Original file line number Diff line number Diff line change
    @@ -22,4 +22,5 @@ php artisan make:auth

    php artisan thinker
    App\Models\User::factory()->create()
    php artisan make:migration create_products_table --create=products
    php artisan make:migration create_products_table --create=products
    php artisan make:controller ProductController --resource --model=Product
  3. qa1 revised this gist Oct 18, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions laravel starter pack
    Original file line number Diff line number Diff line change
    @@ -22,3 +22,4 @@ php artisan make:auth

    php artisan thinker
    App\Models\User::factory()->create()
    php artisan make:migration create_products_table --create=products
  4. qa1 revised this gist Oct 18, 2021. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion laravel starter pack
    Original file line number Diff line number Diff line change
    @@ -18,4 +18,7 @@ npm install && npm run dev
    # npm install -g n
    # n stable && PATH="$PATH"
    sudo apt autoremove
    php artisan make:auth
    php artisan make:auth

    php artisan thinker
    App\Models\User::factory()->create()
  5. qa1 revised this gist Oct 18, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions laravel starter pack
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    #composer create-project --prefer-dist laravel/laravel blog
    composer global require "laravel/installer=~1.1"
    # ~/.composer/vendor/bin
    laravel new projectName
  6. qa1 revised this gist Oct 9, 2021. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions laravel starter pack
    Original file line number Diff line number Diff line change
    @@ -5,12 +5,16 @@ composer require laravel/ui
    php artisan ui vue --auth
    php artisan migrate
    npm install && npm run dev
    # got install cannot find module 'semver' error
    > got install cannot find module 'semver' error
    # sudo rm -rf /usr/local/bin/npm /usr/local/share/man/man1/node* ~/.npm
    # sudo rm -rf /usr/local/lib/node*
    # sudo rm -rf /usr/local/bin/node*
    # sudo rm -rf /usr/local/include/node*
    # sudo apt-get purge nodejs npm && apt autoremove
    # sudo apt-get install nodejs npm
    sudo apt-get purge nodejs npm
    > got version node error
    # npm cache clean -f
    # npm install -g n
    # n stable && PATH="$PATH"
    sudo apt autoremove
    php artisan make:auth
  7. qa1 revised this gist Oct 8, 2021. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions laravel starter pack
    Original file line number Diff line number Diff line change
    @@ -5,4 +5,12 @@ composer require laravel/ui
    php artisan ui vue --auth
    php artisan migrate
    npm install && npm run dev
    # got install cannot find module 'semver' error
    # sudo rm -rf /usr/local/bin/npm /usr/local/share/man/man1/node* ~/.npm
    # sudo rm -rf /usr/local/lib/node*
    # sudo rm -rf /usr/local/bin/node*
    # sudo rm -rf /usr/local/include/node*
    # sudo apt-get install nodejs npm
    sudo apt-get purge nodejs npm
    sudo apt autoremove
    php artisan make:auth
  8. qa1 revised this gist Oct 8, 2021. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion laravel starter pack
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,6 @@ composer global require "laravel/installer=~1.1"
    laravel new projectName
    composer require laravel/ui
    php artisan ui vue --auth
    php artisan migrate
    php artisan migrate
    npm install && npm run dev
    php artisan make:auth
  9. qa1 created this gist Oct 8, 2021.
    6 changes: 6 additions & 0 deletions laravel starter pack
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    composer global require "laravel/installer=~1.1"
    # ~/.composer/vendor/bin
    laravel new projectName
    composer require laravel/ui
    php artisan ui vue --auth
    php artisan migrate