I\'m working with MAMP on my local development server on my laravel application and I\'m trying to figure out how I can safely setup my server so I don\'t have to use the follow
Check the environment detection part in the bootstrap/start.php
. You should add your machine's name to the array that has local
key. (If you don't know your machine's name, run hostname
in terminal. If it's something stupid, Google how to change it. It's pretty simple.) Then copy and paste your database configurations to app/config/local/database.php
. Create the file if it doesn't exists.