/php-salt-box

Masterless, Salt powered Vagrant Php box

Primary LanguageSchemeMIT LicenseMIT

php-salt-box

Masterless, Salt powered Vagrant Php box.

Requirements

Set up

  • git clone --recursive https://github.com/adammbalogh/php-salt-box.git
  • Customize Vagrantfile (optional)
  • vagrant up (takes ~35 minutes)

Customize

  • change environment in salt/minion
    • environment can be base (it means dev) or prod
  • edit configurations in salt/roots/pillar
    • see configs.sls.example to the entire configuration

Know-how

  • Simply use the application directory as the root of your application
  • Go to 192.168.33.10 (default ip)
  • Go to 192.168.33.10:8080 for tools (phpmyadmin, webgrind)

Components

  • ubuntu 14.04
  • git
  • openssl
  • nginx 1.6
  • php 5.5 (fpm)
    • xdebug (with web and cli debugging by default)
  • composer
  • mysql 5.5
  • nodejs 0.10.30
  • redis
  • tools
    • phpmyadmin
    • webgrind