Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gogopex/symfony-homestead
Create a VM for a new Symfony project using Homestead/Vagrant, with as little hassle as possible.
https://github.com/gogopex/symfony-homestead
bootstrap homestead php php74 symfony symfony5 symfony5-1 vagrant virtual-machine virtualbox
Last synced: 2 months ago
JSON representation
Create a VM for a new Symfony project using Homestead/Vagrant, with as little hassle as possible.
- Host: GitHub
- URL: https://github.com/gogopex/symfony-homestead
- Owner: Gogopex
- License: mit
- Created: 2020-07-31T10:15:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T13:01:38.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T12:41:05.575Z (2 months ago)
- Topics: bootstrap, homestead, php, php74, symfony, symfony5, symfony5-1, vagrant, virtual-machine, virtualbox
- Language: CSS
- Homepage:
- Size: 4.48 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Boilerplate to set up a `Symfony` project with a VM using `Homestead`.
> Symfony 5 project, Homestead v10
> Includes basic reset + sanitize less files
## Prerequisites
```
composer (to install Homestead locally)virtualbox
vagrant >= 1.9.5
vagrant plugin install vagrant-bindfs
```## Install
The first step is to install homestead so that the project can build the virtual machine properly.- `composer install`
Note: this is the first and only time you'll be running `composer` outside of the VM. 👍
- `mv Homestead.yaml.example Homestead.yaml`
- open `Homestead.yaml`
- replace `{{name_of_your_projet}}` by the name of your project
- replace `{{name_of_your_database}}` by the name of your database
- `mv .env.test .env`- `vagrant up`
- `vagrant ssh`
- `cd /{{name_of_your_project}}`
- `composer install`
- access {{name_of_your_project}}.testYou can find out more about Homestead and how to configure it here:
[Homestead doc](https://laravel.com/docs/7.x/homestead)