https://github.com/ecomdev/fast-hypernode
Fast Byte Hypernode Box (Uses unison plugin for file shares)
https://github.com/ecomdev/fast-hypernode
hypernode magento vagrant
Last synced: 12 months ago
JSON representation
Fast Byte Hypernode Box (Uses unison plugin for file shares)
- Host: GitHub
- URL: https://github.com/ecomdev/fast-hypernode
- Owner: EcomDev
- License: mit
- Archived: true
- Created: 2016-04-07T14:23:55.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-03-21T14:50:52.000Z (about 7 years ago)
- Last Synced: 2025-03-09T02:41:19.444Z (about 1 year ago)
- Topics: hypernode, magento, vagrant
- Language: Shell
- Homepage:
- Size: 26.4 KB
- Stars: 31
- Watchers: 4
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fast Hypernode Vagrant Box
**The fastest Magento Vagrant VM**
Fast Byte Hypernode Box (Uses nfs_guest plugin for file shares)
Based on images from https://github.com/byteinternet/hypernode-vagrant
# Installation
Installation is possible via composer:
```bash
composer create-project --keep-vcs ecomdev/fast-hypernode
```
# Required Vagrant plugins
* vagrant-hostmanager
* vagrant-auto_network
* vagrant-nfs_guest
# Usage
1. Copy config.rb.dst to config.rb
2. Edit it to reflect your project settings
```ruby
name 'your-project-name'
hostname name + '.box' # will be your main url http://your-project-name.box/
domains %w(www.your-project-name-additional.box) # additional domain names separated by space
profiler true # Add tideways-profiler ?
developer true # Enable development mode?
directory 'server' # Directory into which NFS share will be mounted on your host
```
# Configuration Options
* `name` - name of your node
* `hostname` - default project hostname
* `domains` - list of additional domain names for your project
* `varnish` - enable or disable varnish for your project (default: `false`)
* `profiler` - enable or disable tideways-profiler (default: `false`)
* `developer` - enable or disable developer mode in Magento (default: `false`)
* `magento2` - Magento 2.0 installment? (default: `false`)
* `install` - Shall Magento be installed? (default: `false`, only Magento 2.0 installation supported)
* `shell` - Install FishShell? (default: `false`)
* `php7` - PHP7 instead of PHP5? (default: `false`)
* `cpu` - number of CPUs to dedicate to your VM (default: `1`)
* `memory` - memory in MB to dedicate to your VM (default: `1024`)
* `user` - User name for nfs share permissions (default: `app`)
* `group` - Group name for nfs share permissions (default: `app`)
* `uid` - User ID of your host to be mapped to linux VM (default: `Process.euid`)
* `gid` - Group ID of your host to be mapped to linux VM (default: `Process.egid`)
* `directory` - Directory to be used as mount on host machine (default: `server`)
* `network` - Network mast for automatical network assignment to VM (default: `33.33.33.0/24`)
# Adding custom shell provisioners
You can easily add more provision shell scripts from configuration file (config.rb):
```ruby
shell_add 'some-custom-shell-script.sh'
# Will provision only if PHP7 flag is turned on
shell_add 'some-custom-script-for-php7.sh', :php7
```