gestao-ti/console

Gestao TI console.

0.3.14 2016-01-06 20:22 UTC

README

Latest Stable Version Total Downloads Latest Unstable Version

#Requirements

The gestao-ti/console has a few system requirements.

First, download the console using composer:

$ composer global require gestao-ti/console

Second, make sure to place the ~/.composer/vendor/bin directory in your PATH so the gestao executable can be located by your system.

# on your linux/MAC terminal:
$ echo "export PATH='$PATH:~/.composer/vendor/bin'" >> ~/.bashrc && source ~/.bashrc

#Settings

---
ip: "192.168.0.100"
memory: 512
cpus: 1
name: gestao-ti/mapa
provider: virtualbox
#version: "0.0.1"

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

folders:
    - map: ~/
      to: /home/vagrant/gestao
      owner: www-data
      group: www-data
      mount_options:
        - dmode: 775
          fmode: 664

sites:
    - map: gestao.app
      to: /home/vagrant/gestao
      type: apache

#variables:
#    - key: 'APP_ENV'
#      value: 'local'

# ports:
#     - send: 93000
#       to: 9300
#     - send: 7777
#       to: 777
#       protocol: udp

#Command

Once installed, the simple gestao vm command will manage virtual machine in the directory ~/.gestao. For instance, gestao vm:up machine will run a virtual machine named machine. This method of manage is much faster to run virtual machine the gestao-ti.

  • vm:destroy Destroy the virtual machine
  • vm:build Create new package to update version
  • vm:edit Edit settings of virtual machine
  • vm:halt Turning off virutal machine
  • vm:init Init virtual machine
  • vm:provision Re-provisions the virtual machine
  • vm:reload Reload the virtual machine
  • vm:resume Resume the suspended virtual machine
  • vm:run Run commands through the virtual machine via SSH
  • vm:ssh Login to the Homestead machine via SSH
  • vm:status Get the status of the virtual machine
  • vm:up Start virtual machine
  • vm:update Update the gestao machine image