All Projects → kenjis → vagrant-fuelphp-centos6

kenjis / vagrant-fuelphp-centos6

Licence: other
FuelPHP Vagrant Development setup (CentOS6)

Programming Languages

ruby
36898 projects - #4 most used programming language

FuelPHP Vagrant Development setup (CentOS6)

日本語

This repositoy is still maintained but not actively developed. I've created new Vagrant CentOS6 PHP repositoy. See vagrant-centos6-php.

This project sets up a CentOS 6.5 (64bit) virtual machine to run your FuelPHP project in. It mounts your FuelPHP project directory so that you can use your favorite editors to work.

Requirements

Tested

  • Ubuntu 14.04 - VirtualBox 4.3.18 & Vagrant 1.6.5 & Git 1.9.1
  • Mac OS X 10.10.1 - VirtualBox 4.3.18 & Vagrant 1.6.5 & Git 1.9.3

What's in the Development environment?

Some of the following are including using Chef Opscode repositories.

  • PHP 5.5
    • Xdebug
    • Zend OPcache
    • APCu
  • Apache 2.2
    • vhost setup for your project
  • MySQL 5.1
    • fuel_dev and fuel_test databases
  • phpMyAdmin 4.0
  • PHPUnit 3.7
  • Git 1.7.1

(Optional)

  • MongoDB 2.6
  • Redis 2.4

Suggesting Setup & Layout

Add this vagrant-fuelphp-centos6 to your project:

$ git submodule add [email protected]:kenjis/vagrant-fuelphp-centos6.git vagrant
$ git submodule update --init --recursive
$ cd vagrant
$ vagrant up

Setup your directories something like this:

project/
├── docs/
├── fuel/
├── public/
└── vagrant/

Accessing your project

Vagrant

Here are common commands:

  • vagrant up starts the virtual machine and provisions it
  • vagrant suspend will save the current running state of the machine and stop it
  • vagrant halt attempts a graceful shutdown of the machine
  • vagrant ssh gives you SSH access to the virtual machine
  • vagrant destroy will destroy the machine
  • vagrant status shows status of the machine
  • vagrant global-status shows status of all virtual machines

More in http://docs.vagrantup.com/v2/

Thanks to

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].