Giter VIP home page Giter VIP logo

vagrant-php-dev-box's Introduction

Set up a PHP development box super fast

Installation

  • Install vagrant using the installation instructions in the Getting Started document
  • Add a Ubuntu Precise box using the available official boxes, for example: vagrant box add phpdevbox http://files.vagrantup.com/precise64.box (make sure it's named phpdevbox)
  • Clone this repository
  • Install submodules with git submodule update --init
  • After running vagrant up the box is set up using Puppet
  • You should now have your working Symfony2 Standard Edition under http://localhost:8181/app_dev.php (You have to uncomment or remove some lines at the beginning of web/app_dev.php that restrict access to this file. Is no risk as you should not deploy that file to prodution anyway.)

Installed components

Debugging

If you want to debug your cli application using xdebug for example with Netbeans just run this command before executing the cli app:

.. code-block:: sh

$ export XDEBUG_CONFIG="idekey=netbeans-xdebug remote_host=192.168.33.1 profiler_enable=1 default_enable=1 remote_enable=1 remote_handler=dbgp remote_port=9000 remote_autostart=0"

Hints

Startup speed

To speed up the startup process use

.. code-block:: sh

$ vagrant up --no-provision

after the first run. It just starts the virtual machine without provisioning of the recipes.

TODO

vagrant-php-dev-box's People

Contributors

dirkaholic avatar

Watchers

Michael 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.