Notice: Google is retiring their OpenID 2.0 authentication service on 20 April 2015. If you are using Google OpenID as your primary means to authenticate on this forum, then please either:

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 08 Sep '11, 17:58

xboxer21's gravatar image

xboxer21
33
accept rate: 0%

edited 08 Sep '11, 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:

.

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)

permanent link

answered 09 Sep '11, 04:30

todork's gravatar image

todork
1.2k4
accept rate: 34%

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?

(09 Sep '11, 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

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

Thanks - Will give it a shot.

(09 Sep '11, 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! :)

(05 Mar '12, 20:23) Leif Leif's gravatar image
Your answer
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

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×74
×9
×2

question asked: 08 Sep '11, 17:58

question was seen: 1,618 times

last updated: 05 Mar '12, 20:23

Features & prices    Sign up    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
© Copyright 2003-2015 Swarma Limited - WebFaction is a service of Swarma Limited