Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/divio/getting-started-with-laravel
https://github.com/divio/getting-started-with-laravel
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/divio/getting-started-with-laravel
- Owner: divio
- License: mit
- Created: 2023-09-19T11:45:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-28T18:59:40.000Z (5 months ago)
- Last Synced: 2024-08-28T20:41:29.948Z (5 months ago)
- Language: PHP
- Size: 11.5 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Getting Started with Laravel
[![Deploy to Divio](https://docs.divio.com/deploy-to-divio.svg)](https://control.divio.com/app/new/?template_url=https://github.com/divio/getting-started-with-laravel/archive/refs/heads/main.zip)
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](https://laravel.com/docs/master/installation#creating-a-laravel-project) guide, has got you covered.
## Cloud Setup
Create a [Divio Account](https://control.divio.com/) 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](https://docs.divio.com/introduction/).
## Local Setup
Install the [Divio CLI](https://github.com/divio/divio-cli) to set up your app locally.
Alternatively, build this app locally using Docker:
1. Ensure [Docker](https://docs.docker.com/get-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`.