login community faq
0
1

Has anyone tried installing nestacms on webfaction? If yes can you please post your steps here. Nesta is a Sinatra based CMS. I have installed sinatra and works fine on webfaction.

Thanks!

asked Sep 08 '11 at 17:58

xboxer21's gravatar image

xboxer21
32

edited Sep 08 '11 at 18:00


I just got Nesta working. Here is what I did:

  1. I installed a Rails app from the control panel and updated RubyGems for it by following http://docs.webfaction.com/software/rails.html#upgrading-rubygems.
  2. I installed a custom app (listening to port) from the control panel and assigned it to a website.
  3. I then ran the following commands:

.

1
2
3
4
5
6
7
gem install nesta
gem install bundler
nesta new testsite.com
cd testsite.com
bundle
nesta demo:content
shotgun -p <port> config.ru

(where <port> is the port that was assigned for my custom application)

answered Sep 09 '11 at 04:30

todork's gravatar image

todork
10964

Thanks, that was very helpful. Now if I were to run it as a production setup, will it be a good idea to run it using shotgun?

(Sep 09 '11 at 09:04) xboxer21 xboxer21's gravatar image

Hi,

Well, shotgun is generally intended for development environments, although it does have a --env=production option.

For production environments it's usually recommended to run it in your own web server using Passenger. Here is a useful URL I found on deploying Sinatra apps: deploying Sinatra with Vlad

(Sep 09 '11 at 11:40) todork todork's gravatar image

Thanks - Will give it a shot.

(Sep 09 '11 at 14:45) xboxer21 xboxer21's gravatar image

Thanks! This was very useful, but did you ever get it up and running with nginx/Passenger/Vlad for production? I'd appreciate any pointers on how to do that! :)

(Mar 05 '12 at 20:23) Leif Leif's gravatar image
Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×56
×8
×2

Asked: Sep 08 '11 at 17:58

Seen: 871 times

Last updated: Mar 05 '12 at 20:23

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited