2017 © Pedro Peláez
 

library gardening-hhvm

Vagrant(Ubuntu) for HHVM/Hack.

image

ytake/gardening-hhvm

Vagrant(Ubuntu) for HHVM/Hack.

  • Tuesday, January 16, 2018
  • by ytake
  • Repository
  • 1 Watchers
  • 1 Stars
  • 59 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 5 % Grown

The README.md

Gardening

pre-packaged Vagrant box that provides you a wonderful development environment
without requiring you to install HHVM, a web server(Nginx),
and any other server software on your local machine., (*1)

php7 box:, (*2)

"require-dev": {
  "ytake/gardening-hhvm": "~0.0"
}

(supported for virtualbox only), (*3)

Included Software

  • Ubuntu16.04
  • Git
  • HHVM
  • Nginx
  • MySQL
  • Sqlite3
  • PostgreSQL
  • Composer
  • Node.js (Gulp, webpack)
  • Redis
  • Memcached

MySQL and PostgreSQL

  • user: gardening
  • password: 00:secreT,@

Install Gardening Box

case 1, your "home" directory

$ cd ~
$ git clone https://github.com/ytake/gardening-hhvm.git gardening-hhvm

setup.sh(Windows .bat) command from the gardening-hhvm directory to create the vagrant.yaml configuration file.(~/.gardening-hhvm hidden directory), (*4)

$ bash setup.sh

case2, Per Project Installation

To install gardening-hhvm directly into your project, require it using Composer:, (*5)

$ composer require ytake/gardening-hhvm --dev

use the make command to generate the Vagrantfile and vagrant.yaml(or vagrant.json) file in your project root., (*6)

$ ./vendor/bin/gardening-hhvm gardening-hhvm:setup

gardening.json:, (*7)

$ ./vendor/bin/gardening-hhvm gardening-hhvm:setup --filetype=json

Configuration

Configuring Shared Folders

folders:
    - map: /path/to/yourProject
      to: /home/vagrant/yourProjectName

many shared folders:, (*8)

folders:
    - map: /path/to/yourProject
      to: /home/vagrant/yourProjectName
    - map: /path/to/yourSecondfProject
      to: /home/vagrant/yourSecondProjectName

Configuring Sites

sites:
    - map: gardening.app
      to: /home/vagrant/yourProject/public

many sites:, (*9)

sites:
    - map: gardening.app
      to: /home/vagrant/yourProject/public
    - map: gardening.second.app
      to: /home/vagrant/yourSecondProject/public

Ports

By default, the following ports are forwarded to your gardening environment:, (*10)

  • SSH: 2222 → Forwards To 22
  • HTTP: 8000 → Forwards To 80
  • HTTPS: 44300 → Forwards To 443
  • MySQL: 33060 → Forwards To 3306
  • Postgres: 54320 → Forwards To 5432

Forwarding Additional Ports:, (*11)

ports:
    - send: 7777
      to: 777

The Versions

16/01 2018

dev-master

9999999-dev

Vagrant(Ubuntu) for HHVM/Hack.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Yuuki Takezawa

vagrant develop ubuntu

16/01 2018

0.1.2

0.1.2.0

Vagrant(Ubuntu) for HHVM/Hack.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Yuuki Takezawa

vagrant develop ubuntu

16/01 2018

0.1.1

0.1.1.0

Vagrant(Ubuntu) for HHVM/Hack.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Yuuki Takezawa

vagrant develop ubuntu

23/05 2017

0.1

0.1.0.0

Vagrant(Ubuntu) for HHVM/Hack.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Yuuki Takezawa

vagrant develop ubuntu

23/05 2017

dev-dev-hhvm-lts

dev-dev-hhvm-lts

Vagrant(Ubuntu) for HHVM/Hack.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Yuuki Takezawa

vagrant develop ubuntu