How to host/deploy a PHP app from local machine to appfog

Standard

On the previous post we deployed a wordpress site along with a mySQL service by appfog’s built-in installation process in a very fast way. In this post we will describe the process of deploying again a wordpress site but from our local machine like as our own custom PHP app.

Step A: Sign up in appfog and it will show no app under your account. Just leave the browser. Nothing to to do there now. We will use appfog command line tool to both create and upload the files to appfog.
For that, enter the following command in your Mac OSX terminal

gem install af

After successful installation of “af” you can write the following command and provide your appfog account detail to login to the service.

af login

Note: “af” requires Ruby 1.8.7 or newer. You should Ruby installed already in your Mac 10.6+ . If any problem occurs or you are using Windows then follow this link to resolve. Continue reading

How to host/deploy wordpress on appfog within 2 minutes

Standard

AppFog delivers a reliable, scalable and fast platform for deploying applications in the cloud. Unlike installing OS, configuring, managing and monitoring a VPS (Virtual Private Server) like Amazon EC2 or Rackspace Cloud Servers, this kind of deployment/hosting platform/framework is much better for developers to use. As their punch line says “Simple, elegant, and modern way to develop and deploy apps.”

Here in the post we will describe how to host/deploy a wordpress site in a very fast way cause appfog has wordpress under quick installation option. Following this option will install both PHP with WordPress app along with a mySQL service under your account.

Step A: Sign up here without any hassle of providing a valid payment method 🙂

Step B: Click on “New App” button

Continue reading