https://github.com/gilbitron/laravel-cloud-config
A cloud-config file for local Laravel development. Designed to be used with Ubuntu Multipass.
https://github.com/gilbitron/laravel-cloud-config
development-environment laravel ubuntu-multipass
Last synced: about 1 year ago
JSON representation
A cloud-config file for local Laravel development. Designed to be used with Ubuntu Multipass.
- Host: GitHub
- URL: https://github.com/gilbitron/laravel-cloud-config
- Owner: gilbitron
- License: mit
- Created: 2020-05-29T13:44:29.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-05T10:29:20.000Z (about 6 years ago)
- Last Synced: 2025-04-01T10:04:19.554Z (over 1 year ago)
- Topics: development-environment, laravel, ubuntu-multipass
- Language: DIGITAL Command Language
- Homepage:
- Size: 15.6 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel cloud-config
A cloud-config file for local Laravel development. Designed to be used with [Ubuntu Multipass](https://multipass.run). The config sets up a `laravel.test` site with:
* Nginx
* PHP 7.4
* MySQL
* Redis
* Composer
* Cron
## Usage
Download the [cloud-config.yml](cloud-config.yml) file. Then, launch a Multipass VM using the cloud-config file:
```
curl -O https://raw.githubusercontent.com/gilbitron/laravel-cloud-config/master/cloud-config.yml
multipass launch 18.04 --name laravel --cloud-init cloud-config.yml
```
Next, mount your Laravel project to the VM:
```
multipass mount /path/to/laravel laravel:/sites/laravel.test/files
```
Finally, use `multipass info laravel` to find the VM IP and add it to your `/etc/hosts` file to point `laravel.test` to your VM.
```
192.168.64.2 laravel.test
```
## Database
The default MySQL database is:
* Database: `laravel`
* Username: `laravel`
* Password: `secret`
## Credits
Laravel cloud-config was created by [Gilbert Pellegrom](https://gilbitron.me) from [Dev7studios](https://dev7studios.co). Released under the MIT license.