Skip to content

Instantly share code, notes, and snippets.

@kylesuss
Last active December 26, 2015 15:39
Show Gist options
  • Save kylesuss/7174521 to your computer and use it in GitHub Desktop.
Save kylesuss/7174521 to your computer and use it in GitHub Desktop.
How to create an app via the CLI for OpenShift
Run 'rhc create-app' to create your first application.
Do-It-Yourself 0.1 rhc create-app <app name> diy-0.1
JBoss Application Server 7 rhc create-app <app name> jbossas-7
JBoss Enterprise Application Platform 6.1.0 rhc create-app <app name> jbosseap-6
Jenkins Server rhc create-app <app name> jenkins-1
Node.js 0.10 rhc create-app <app name> nodejs-0.10
Node.js 0.6 rhc create-app <app name> nodejs-0.6
PHP 5.3 rhc create-app <app name> php-5.3
Perl 5.10 rhc create-app <app name> perl-5.10
Python 2.6 rhc create-app <app name> python-2.6
Python 2.7 rhc create-app <app name> python-2.7
Python 3.3 rhc create-app <app name> python-3.3
Ruby 1.8 rhc create-app <app name> ruby-1.8
Ruby 1.9 rhc create-app <app name> ruby-1.9
Tomcat 6 (JBoss EWS 1.0) rhc create-app <app name> jbossews-1.0
Tomcat 7 (JBoss EWS 2.0) rhc create-app <app name> jbossews-2.0
Zend Server 5.6 rhc create-app <app name> zend-5.6
$ rhc app create MyApp python-2.6
$ rhc cartridge add postgresql-9.2 -a MyApp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment