Skip to content

divio/getting-started-with-laravel

Repository files navigation

Getting Started with Laravel

Deploy to Divio

Welcome to our QuickStart template – your portal to swift application development and seamless local testing. Whether you're delving into Laravel for the first time or optimizing your workflow, our template, based on Creating a Laravel Project guide, has got you covered.

Cloud Setup

Create a Divio Account and choose Laravel from the template selection when creating a new application. Alternatively, click the Deploy to Divio button above and follow the app creation wizard. Finally, deploy your app to the test or live environment.

Beware that the admin user is not created automatically. You can do so by connecting via SSH and manually run python manage.py createsuperuser.

For in-depth details about Divio Cloud, refer to the Divio documentation.

Local Setup

Install the Divio CLI to set up your app locally.

Alternatively, build this app locally using Docker:

  1. Ensure Docker is installed and running.
  2. Run docker compose build to build fresh images.
  3. Install dependencies using docker compose run --rm web composer install.
  4. Run migrations through docker compose run --rm web php artisan migrate.
  5. Run docker compose up to start the project.
  6. Open http://localhost:8000.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages