How to install PencilBlue on Cloud9
Cloud9 workspace is a Ubuntu virtual machine with a powerful online code editor.
PencilBlue is the only Node.js CMS and blogging platform to meet all the needs of a modern website.
Here is the steps,
-
Sign up with Github, Bitbucket or Email
-
Create a Nodejs workspace
-
Setting Up MongoDB
MongoDB is preinstalled on a Cloud9 workspace. To run MongoDB, run the following below (passing the correct parameters to it). Mongodb data will be stored in the folder
data
.123<span class="cm-def">$ mkdir</span> data<span class="cm-def">$ echo</span> <span class="cm-string">'mongod --bind_ip=$IP --dbpath=data --nojournal --rest "$@"'</span> > mongod<span class="cm-def">$ chmod</span> a<span class="cm-operator">+</span>x mongodYou can start mongodb by running the
mongod
script on your project root:1<span class="cm-def">$ </span>./mongod -
Install PencilBlue
12$ npm install -g pencilblue-cli$ pencilblue install cms -
Run PencilBlue
12$ cd cms$ pencilblue start
Leave a Reply
You must be logged in to post a comment.