Tuesday, January 29, 2013

Cloud Development. Contribute to a project with Cloud 9, GitHub, phpcloud. Simple, Easy, Fast.


In this tutorial I will explain step by step how to contribute to an existing project using only Cloud Technologies. I am using Cloud 9, GitHub, phpcloud. In my YouTube channel I have videos showing the procces with different Cloud IDEs (codenvy = Exo IDE and Cloud 9). I like Exo IDE because you can generate many SSH keys for different domains and also you can upload an existing private key. With Cloud 9 you can have only 1 RSA key pair. You can not download the private key and use it with other IDEs. You also can not upload an existing private key. You can not even generate another key pair. I hope this will change in the future. I have to admit Cloud 9 tries to make the things easier. But you have a full terminal window which is a huge advantage! The related to this blog post video you can find in YouTube.

1) Create an account on GitHub


2) (Optional) Create an account on Cloud 9 
Or use your BitBucket or GitHub account (OpenID)

3) Create an account on Zend phpcloud.com

4) (Optional) Create an account on Heroku or another PaaS of your choice

5) Login to GitHub
5.1) Find an interesting project and "fork" it
6) Login to Cloud 9. (Note: You can use your github account)
7) Create a project in CLoud 9 from your fork
8) Login to Zend phpcloud.com
9) Create a new ZF2 project
10) Allow Cloud 9 to connect to Zend phpcloud.com. 
Use RSA key pair. Copy the public key from CLoud 9.
Note: Cloud 9 doesn't allow you to import a private key or create another one.
11) Import the private key in Zend phpcloud.com

12) Copy the URL of the Git repo of your project in phpcloud.com
13) Opean a terminal in Cloud 9
14) Add a remote repo to Git
15) Fetch from Zend and Merge to the local copy
16) Resolve the conflicts
17) refresh to see the new files and folders
18) (Optional) Resolve the conflict in .htaccess file from "public" folder
19) Resolve the conflict in Readme.md
20) Remove the .htaccess file
21) git add ., git commit -m "message", git push zend, git push origin 

Monday, January 28, 2013

PHP Zend Framework 2 Cloud Development with Cloud 9, GitHub, phpcloud. Simple, Easy, Fast.

In this tutorial I will explain step by step how to create a new Zend Framework 2 skeleton application using only Cloud Technologies. I am using Cloud 9, GitHub, phpcloud. In my YouTube channel I have videos showing the procces with different Cloud IDEs (Exo IDE and Cloud 9). I like Exo IDE (Codenvy now) because you can generate many SSH keys for different domains and also you can upload an existing private key. With Cloud 9 you can have only 1 RSA key pair. You can not download the private key and use it with other IDEs. You also can not upload an existing private key. You can not even generate another key pair. I hope this will change in the future. I have to admit Cloud 9 tries to make the things easier. But you have a full terminal window which is a huge advantage!

You can watch the tutorial or read the following instructions:




If you don't have the time to watch the entire tutorial, see the following instructions:

1) Create an account on GitHub

2) (Optional) Create an account on Cloud 9 
Or use your BitBucket or GitHub account (OpenID)

3) Create an account on Zend phpcloud.com

4) (Optional) Create an account on Heroku or another PaaS of your choice

5) Login to GitHub