Tuesday, August 4, 2015

Install Plone 5 Beta 4 on Cloud9 IDE in 5 minutes

(update August 27, 2015:  The script now installs Plone 5 Beta 4)
These are quick instructions for installing Plone 5 Beta 4 on Cloud9 IDE, they supercede my post on installing Plone 5 Beta 2. This walks you through the process of installing Plone on Cloud9 IDE as it is no longer possible to do this on the free tiers of Codio. We assume you have already signed up with Cloud9 IDE.

Step 1 - Create a new Workspace

On the Cloud9 IDE dashboard select Create a new workspace

Use the default settings as a Starting Point

Then click Create workspace.

Step 2 - Enter the installer command in the terminal

in the terminal type the following:

wget -qO- goo.gl/5FMjBC | bash

You will see output similar to this:

Step 3 - Launching Plone 5

After successful installation (takes about 5 minutes) run the following command:
cd zinstance
bin/instance fg
Once it has started successfully you'll see the following message on the terminal:
INFO Zope Ready to handle requests
At that point select Preview > View Running Application.

IMPORTANT: You'll need to get the adminPassword, it is located under the 'zinstance' folder see the screenshot below.

Once it's running, click on the "pop out" button

This will lead you to the Plone installer (it will look a little weird, because of an issue with proxying the site via https). Click on Create a new Plone site and following the instructions.

Once you're successful you'll see a running Plone 5 site:

Things to Know

Here are a few things to know about Plone.
  1. Plone runs on an application server called Zope 
  2. You can actually run multiple copies of Plone on one Zope application server

Next Steps

This quick cloud based installation is a great way to try out some of the new things in Plone 5. Plone 5 is still being polished so it will have rough edges. Try changing the look of your site by following these notes from Asko Soukka on customizing Plone 5's default theme.

If you get this working, please leave a comment. If you try and have issues leave a comment.


Unknown said...

Hey David, thanks for your post. Everything was ok, until I stuck trying to run my plone site (bin/instance fg). I got this message: "INFO Zope Ready to handle requests" and it remains there forever and ever. Nothing happens and never comes up a pop out button with "Plone Rocks!". :(

What's wrong with my site? Thanks so much.


David B said...

I left out a detail in step 3. I've updated it now. When you see the "Zope Ready to handle requests" message go to "Preview" > "View Running Application".

Thank you very much for your feedback, I totally missed that!

Sign up for my upcoming Plone 5 Book & Video tutorials

plone 5 for newbies book and videos