Solum/solum m2 demo
< Solum
Revision as of 18:48, 30 April 2014 by Paul Montgomery (talk | contribs)
Contents
Solum Milestone 2 Demo
The Solum M2 Demo represents the longer term program direction and does not represent currently implemented Solum features.
Solum Demo Vagrant Installation Instructions
Note: These installation instructions were tested on Mac OS X v10.7.5.
- Install Vagrant (http://www.vagrantup.com/downloads.html); tested with Vagrant v1.5.4
- Note: From a command prompt, "vagrant plugin install vagrant-omnibus" was executed but this step should NOT be needed. Including only in case there is an issue as something to try.
- Make a directory for a github repository; this demo uses an arbitrary "mkdir /solum_demo" (using / for simplicity and example, please choose the right location for your project and adjust the example paths accordingly).
- cd /solum_demo
- git clone https://github.com/rackerlabs/vagrant-solum-dev.git
- git clone https://github.com/rackerlabs/solum-m2demo-ui.git
- export WEBGUI=/solum_demo/solum-m2demo-ui
Note: This demo uses docker containers by default but if a virtual machine is desired instead, add this command: export SOLUM_IMAGE_FORMAT=vm
- cd vagrant-solum-dev
- vagrant up
[This may take about 15 minutes or so to install.]
- sudo route add -net 192.168.78.0/24 192.168.76.11
Now, just browse to this URL to see the demo: http://192.168.76.11:9001/solum/
Common Vagrant Commands
- vagrant halt --- Stops the running vagrant but doesn't delete anything
- vagrant up --provision --- Restarts a halted vagrant
- vagrant destroy --- Deletes the vagrant and all data (be careful!)
- To log into the Vagrant session, use "vagrant ssh"
- To list the screen sessions available use "screen -ls"
- To connect to a given screen, "screen -x bridge" for example (it works as long as the name is a subset of the screen -ls output)