When learning a new web technology, I believe it is important to have hands-on experience from development to deployment. I chose Open Shift, one of the recommended cloud deployment options for Drupal 7. It’s free for 3 small instances, which seems perfect for experimentation.

I used the very simple web UI to create a Drupal 7 instance:

Note: Just like Heroku, you can’t write to the file system with open shift, so by default the Drupal install is “not scalable.” However, there’s documentation about how to configure it so that it would be scalable if you don’t need file upload — not sure why they wouldn’t just do that by default.

Next there’s a screen that provide credentials for the app, and a link to my new instance:

Woo hoo! I can log in with the default credentials (admin / openshift_changeme ) and see the default Drupal admin UI:

If you go to “People,” you can find your admin user and change the password. Of course, I’ve done this on my instance, so you can’t log in — you should go make your own!

Dev Setup?

I already had an account that I had experimented with for Ruby, but it was some time ago, so I needed to reinstall the local tools and setup:

1. requires git and ruby (since its “rhc” tool is a gem) — I’m using rvm with ruby 1.9.2
2. to setup client tools, as well as ssh key and a token locally for automagic auth:

rhc setup 

3. clone the repo

git clone ssh://51d..183@drupal7-ultrasaurus.rhcloud.com/~/git/drupal7.git/ openshift-drupal7
cd openshift-drupal7 

Not clear what to do from here. The OpenShift forums provides the hint that I can take a snapshot of files with

rhc snapshot save -a {appname}

but that doesn’t hint at a dev workflow.

I do want to figure out a nice workflow to develop locally and deploy on a free cloud. I’ve played with Acquia Desktop. MAMP has been recommended. I’d be more comfortable with “brew install …”

I will post this for now, in case any of you readers can clue me in or point me to some good install docs. I’ll update this post once I figure out something I like. Thanks in advance.

Leave a reply

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>