Giter Site home page Giter Site logo

commissar's Introduction

#Symfony 2 Vagrant Development setup

Installation

####This setup is based and tested with Ubuntu Precise 64 bit base box, with Vagrant 1.0.5 version (should be vorking with 1.1)

  • Install Vagrant using using the installation instructions

  • Clone this repository

    $ git clone https://github.com/irmantas/symfony2-vagrant.git

  • install git submodules $ git submodule update --init

  • run vagrant (for the first time it should take up to 10-15 min) $ vagrant up

  • Web server is accessible with http://33.33.33.100 (IP address can be changed in Vagrantfile)

  • PhpMyAdmin is accessible with http://33.33.33.100/phpmyadmin

  • Vagrant automatically setups database with this setup:

    • Username: symfony
    • Password: symfony-vagrant
    • Database: symfony

Installed components

Thanks to

Hints

####Startup speed To speed up the startup process use $ vagrant up --no-provision (thanks to caramba1337)

####Install Symfony Standard edition

  • SSH to vagrant $ vagrant ssh

  • Clone symfony standard edition to somewhere temporary

    $ git clone https://github.com/symfony/symfony-standard.git /tmp/symfony

  • Move symfony repository to server document root

    $ mv /tmp/symfony/.git /vagrant/www/

  • Reset repository to restore project files

    $ cd /vagrant/www && git reset --hard HEAD

  • Install dependencies

    $ cd /vagrant/www && composer update

  • Edit web/app_dev.php to allow host

TODO

You tell me

commissar's People

Contributors

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