Giter Site home page Giter Site logo

symfony4-app's Introduction

Symfony + Chef + Vagrant

This is a boilerplate for a fresh Symfony 4 app in a Vagrant VM provisioned by Chef. Check out this video for more info: https://www.youtube.com/watch?v=gb2nGE7nUm8

Setup

Install the latest version of Vagrant:
http://www.vagrantup.com/downloads.html

Install the latest version of VirtualBox:
https://www.virtualbox.org/wiki/Downloads

Install the latest version of the ChefDK from:

https://downloads.getchef.com/chef-dk

Install the Vagrant plugins:

vagrant plugin install vagrant-berkshelf

Clone the repository:

git clone [email protected]:gigo6000/symfony4-app.git
cd symfony-chef-vagrant

Install Symfony Vendors:

composer install

Boot the Vagrant machine:

vagrant up

You should now be able to se the Symfony welcome page here: http://localhost:8080

Running

If the VM is stopped (for example after a reboot) run this inside the root directory of the project:

vagrant up

Restart the VM:

vagrant reload

If you want to apply recent changes to the vagrant setup or if you had a problem during provisioning, you can kill the box and bring it back up.

vagrant destroy -f && vagrant up

If you want to apply recent changes in the cookbook without destroying the VM:

vagrant reload --provision

symfony4-app's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.