If this post helps someone else, that’s great – but it is not intended for anyone else but me.
- In the Terminal window, do
cd Codeand then
laravel new foobarto create the project
- Wait while Composer does its thing, downloading and installing a ton of stuff
cd foobarto go in to the new project’s directory
- Then do
git add .and
git commit -m "initial commit"to set up the Git repo
- In MySQLWorkbench, open Local Mac and create a new schema named
foobarwith default collation set to
- In the
.envfile (Not the examle file) set
APP_NAME = Foobarand
DB_DATABASE=foobarand then copy the username and password from another working project.
- Back in the Terminal, do
artisan migrateand you’re done.