[Fixed] "CARTRIDGE_VERSION_2: line 1: 2: command not found" OpenShift application push error

1
Comments
[Fixed]

After pushing updated version of my  wordpress blog to OpenShift git repository, I have got "CARTRIDGE_VERSION_2: line 1: 2: command not found" error. You could see this error if you are pushing your changes in Drupal, Wordpress, Rails, Spring, Django, Reveal.js, CakePHP, or Dancer applications. To fix this error go to OpenShift applications repository and get the latest version of your app (wordpress-example): git clone https://github.com/openshift/wordpress-example.git Then copy and replace .o...

Read further...

Synchronize OpenShift application after update

1
Comments
Synchronize OpenShift application after update

For this blog I am using OpenShift cloud (started plan).   After updating wordpress engine through admin panel, updated files are not available in application git repository because they were not commited to git on remote server. To synchronize your OpenShift application with git repository you should perform following steps: Install and configure rhc command line tool as described here Connect to your application through ssh Go to OpenShift application page. Copy ssh connection string (lik...

Read further...

Deploy ASP.NET MVC 4 application + WCF service to the free AppHarbor cloud

0
Comments
Deploy ASP.NET MVC 4 application + WCF service to the free AppHarbor cloud

This article is a step by step instruction to deploy your ASP.NET MVC 4 application that hosts WCF service to the free AppHarbor cloud hosting with MS SQL server and NewRelic monitoring functionality. Configure AppHarbor You need to register an account on https://appharbor.com/, then go to "Your Applications" and create the new one. For example we will create application with name "testForBlock". Then you should add SQL server add-on to your site. Go to "add-on catalog", select "SQL Server" and...

Read further...