Report this

What is the reason for this report?

refinerycms installed on droplet help

Posted on October 25, 2014

anyone has installed refinerycms on digitalocean that can give me a hint, I am lost trying to make it run



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

thank you so much!!! I follow your instructions and everything works

In order to install Refinery CMS, the first thing you need to do is get RVM and Ruby installed:

\curl -L https://get.rvm.io | bash -s stable
source /etc/profile.d/rvm.sh
rvm install ruby

Now we need to install MySql and imagemagick:

sudo apt-get install mysql-client mysql-server libmysqlclient-dev imagemagick

Now install Rails and the refinerycms gem:

gem install refinerycms

Then, create a new Rails (note that refinerycms does not yet work with Rails 4) project using the refinerycms template:

mkdir /var/rails
cd /var/rails
rails _3.2.19_ new my_app -m http://refinerycms.com/t/2.1.0

Finally, create a Refinery application with:

refinerycms my_app

We can start it with:

cd my_app
rails serve

It should now be visible at http://your.ip.address:3000/refinery

For more information on getting Refinery CMS up and running, check out their documentation.

For more information on how to deploy a Ruby on Rails appplication in production, check out this tutorial: How To Deploy a Rails App with Passenger and Nginx on Ubuntu 14.04

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.