Create app with REST API
I'am using the REST API documentation to create an application with : curl -k -X POST https://openshift.redhat.com/broker/rest/domains/[Domain_ID]/applications --user "[UserName]:[Password]" --data "name=[AppName]&cartridge=php-5.3&scale=false" but i want to add my-custum Cartridge not one from the Valid Options : nodejs-0.6; jbossas-7; python-2.6; jenkins-1.4; ruby-1.8; diy-0.1; php-5.3; perl-5.10. curl -k -X POST https://openshift.redhat.com/broker/rest/domains/mydomain/applications --user "aa#y.com:xxx" --data "name=openerpdrupal&cartridge=https://raw.githubusercontent.com/smarterclayton/openshift-cdk-cart/master/metadata/manifest.yml" it's give me the Invalid cartridge 'https://raw.githubusercontent.com/smarterclayton/openshift-cdk-cart/master/metadata/manifest.yml' specified." Any Ideas how to fix this error or Maybe i forget a step ? Thanks
This should work: curl -k -X POST https://openshift.redhat.com/broker/rest/domains/jhaopenshift/applications --user "user:pass" --data "name=myapp&cartridge[url]=https://cartreflect-claytondev.rhcloud.com/reflect?github=smarterclayton/openshift-cdk-cart&scale=false" You need to supply the [url] after the cartridge parameter, you also need to either point to a manifest.yml file that has the Source-Url element included, or use the cartridge reflector to point to the partial github url with the format user/repo
Off-PaaS development environment for OpenShift
Open shift Auto scaling
Using OpenShift for non-web application?
openshift piwik quickstart
Openshift, can't restart application “Another operation is already running”
Unable to Deploye War file on OpenShipt
How can I deploy a resource file to scaled gears?
Openshift Gear performance, IOWAIT
openshift CNAME for .tk
OpenShift DIY cartridge and LEMP installation
How to get correct connection info for redis cartridge?
How to browse user generated folder in Openshift?
How best to deploy this multi-tier app?
Openshift first steps
503 Service Temporarily Unavailable when i launching my website at openshift
OpenShift: Corn job script to backup mysql and email the backup file