All,

I was able to use the following instructions to bring up OpenCrowbar Admin in a 
Docker container.   Compared to the previous DevTool setup and process, this is 
very simple and easy.  Even better, it's also very direct to push/pull code 
from Github.

I will have a pull request shortly, but here are the steps if anyone wants to 
validate them:

## Dev Environment

Our development environments include a _working_ administrative server for 
testing.  It is very important in our process that developers are able to run 
deployments in their environment as part of the testing cycle.

While we have invested in BDD and system tests to catch core logic errors, most 
changes require performing a deployment to test correctness!

The following steps are focused on Ubuntu 12.04.03.  Please extend for other 
platforms

1. Base OS Installed
  1. TWO network interfaces
    1. bridge external
    1. host-only on 192.168.124.x
  1. setup an .ssh keypair
  1. Prep for docker (may not be needed in future) following 
http://docs.docker.io/en/latest/installation/ubuntulinux/
  1. 'apt-get install git docker-lxc'
    1. allow docker without sudo: 'sudo usermod -a -G docker crowbar'
  1. Optional items (used for specialized environments)
    1. 'apt-get install cntlm'
1. Checkout Code
  1. create a personal fork of the 'https://github.com/opencrowbar/core'
1. Fork the Code if you want to be able to submit changes
  1. 'git clone https://github.com/opencrowbar/core'
  1. add a personal remote: 'git remote add personal 
https://github.com/[yourgitnamehere]/core'
1. Setup Docker Admin Node
  1. 'cd core'
  1. For UI simulator & testing: ./in_docker.sh centos ./development.sh
  1. For Workload creation: ./in_docker.sh centos ./production.sh 
admin.opencrowbar.com

1. To create a pull request
  1. make your change and commit it: 'git commit -a -m "helpful info"'
  1. get the latest code from origin: 'git fetch'
  1. sync your code into the trunk: 'git rebase'
  1. push your change to your personal repo in a branch: 'git push personal 
master:[my-pull-request-branch]'
  1. from your Github fork UI, create a pull request from my-pull-request-branch

Rob

_______________________________________________
Crowbar mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/crowbar
For more information: http://crowbar.github.com/

Reply via email to