Laravel setup

Prepare your local Laravel installation for fortrabbit.

# Get ready

# Create an app at fortrabbit

Create a new app in the fortrabbit dashboard. The wizard will guide you through the steps. You can connect the repo from GitHub.

Log in to see the link here.

# Software template

If Laravel is detected or you have chosen it in the software list, the Laravel software template will be applied. This will pre-configure common ENV vars, build and post-deploy commands and set the root path to public.

# MySQL configuration

Not all Laravel projects require a database connection. Some do. Just keep config/database.php as it is when you have chosen Laravel with the software template. The all CAPITAL configs in the config/database.php file will be replaced by the contents of the environment variables. For your local development setup you can populate the .env file with your local database credentials. See the ENV var topic as well.

This will enable the environment to connect to the database.

Found a tpyo?Edit