Skip to content
This repository has been archived by the owner on Nov 29, 2017. It is now read-only.

Latest commit

 

History

History
91 lines (60 loc) · 1.21 KB

README.md

File metadata and controls

91 lines (60 loc) · 1.21 KB

Vagrant Ada Demo

Usage

Requirements

  1. Install VirtualBox
  2. Install Vagrant

If you're not running Windows or OS X, add vagrant to your path in your ~/.bashrc:

PATH="/opt/vagrant/bin:$PATH"

First use (requires Ruby, 1.9.3 is prefered)

  1. Clone this repository
  2. Run this :
cd <your clone>
./script/bootstrap

Instructions for Ubuntu 12.04

Install Ruby and its dependencies:

sudo aptitude install libxml2-dev libxslt-dev ruby1.9.1-full

Start the server

vagrant up dev

Develop

The application is accessible locally in ./app.

Suspend/resume the VM

vagrant suspend dev
vagrant resume dev

Kill the VM (when you're done with it)

vagrant destroy dev

Access VM through ssh

vagrant ssh dev

Once on the VM, you can start GPS:

gnat-gps &

Package a new box

Start the server

vagrant up package

Package the box

vagrant package --vagrantfile Vagrantfile --output ada_demo.box

Add the box to your system

vagrant box add ada_demo ada_demo.box