Skip to content

Instantly share code, notes, and snippets.

@connor11528
Created July 11, 2017 21:09
Show Gist options
  • Star 33 You must be signed in to star a gist
  • Fork 19 You must be signed in to fork a gist
  • Save connor11528/fcfbdb63bc9633a54f40f0a66e3d3f2e to your computer and use it in GitHub Desktop.
Save connor11528/fcfbdb63bc9633a54f40f0a66e3d3f2e to your computer and use it in GitHub Desktop.
Create a new Laravel application
#!/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
@highman95
Copy link

2 Things to do;

  • Cross-check your DB connections to ensure your app is pointing to the correct database
  • Ensure that the table or view is indicated as "not found" actually does exist. If not, create it.

This should be all you need to proceed.

@JoDeveloper
Copy link

JoDeveloper commented Oct 24, 2019

3 Things to do;

use pygithub to automatically create repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment