Local VM helper for sfp dev to:
- start - starts VM machine
- stop - stops VM machine
- restart - restarts VM machine
- ssh - ssh to VM machine
- Install composer https://getcomposer.org/
- PHP must be installed
- Home Directory must have Applications folder
- VirtualBox
Clone repo inside ~/Applications folder
$ git clone [email protected]:francisalvinbarretto/sfp-dev.git ~/Applications/Install components via composer
~/Applications/sfp-dev$ composer installThe sfp-dev/config.yml contains information of your VM machine. Information is needed and used to identify which machine should be controlled by the helper.
Configurable values
- vm_name - The name of your VM VirtualBox machine
- vm_ip - The IP assigned to your VM VirtualBox Machine
Add the alias in your ~/.bash_profile
alias dev='~/Applications/sfp-dev/run.sh'Then execute this command to make the alias avaible in your current terminal session
$ source ~/.bash_profileShow helper command list and options
$ dev --helpShow helper's available actions
$ dev list-actions