Monday, September 28, 2015

Installing Plone 5 on Cloud9 IDE

March 21, 2016 - updated the commands to ensure that all dependencies are installed before running the custom script (thanks to CodinCat for comment below)

Plone 5 was released today. Here's how to quickly try it out on Cloud9 IDE.
I'll 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 (or cut and paste) the following commands:

sudo apt-get update
sudo apt-get install python-dev python-virtualenv libssl-dev libxml2-dev -y
sudo apt-get install  libxslt1-dev libbz2-dev python-tk python-gdbm -y
wget -qO- goo.gl/HBzmFw | 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


  1. Enable caching "Admin" > "Site setup" > "Advanced" > "Caching". Plone will go much faster.
  2. Browse around the Plone 5 docs

2 comments:

CodinCat said...

thanks for the tutorial, one more step is required before running the install script:
sudo apt-get install python-dev

David Bain said...

@CodinCat ... thanks for the feedback, Cloud9 Ide has changed the number of packages that they have installed by default. I've updated the commands above to reflect this.

Sign up for my upcoming Plone 5 Book & Video tutorials

plone 5 for newbies book and videos