1

Click here to load reader

Open shift intro for Philly PUG

Embed Size (px)

DESCRIPTION

These are the command I used in the meetup for the Phiily PUG 7_12

Citation preview

Page 1: Open shift intro for Philly PUG

###Sign upWeb UI

###Install the command line tools (you can use the web for some but not all)###Instructions

https://openshift.redhat.com/app/getting_started

###Basically install Ruby 1.9.3 (with Gems) then gem install rhc

###Get the client tools working with the stuff you did on the webrhc setup

###Create a domain rhc domain create -n <yourDomainName> -l <your login> -p <your password>

###Create an applicationrhc app create -t <one from below> -a <app name>

######nodejs-0.6, jbossas-7, python-2.6, jenkins-1.4, ruby-1.8, diy-0.1, php-5.3, perl-5.10

###Add a cartridge if neededrhc app cartridge add -a <app from above> -c <one from below>

######mongodb-2.0, cron-1.4, mysql-5.1, postgresql-8.4, haproxy-1.4, 10gen-mms-agent-0.1, phpmyadmin-3.4, metrics-0.1, rockmongo-1.1, jenkins-client-1.4

###Make changes in your git repogit add .git commit -m "my first commit"git push

###(bonus) SSH into your “server” and look at env variablessshENV

###WIN!