WebFaction
Community site: login faq

Hi guys, I've been working on the rails app on my webfaction account, and it's getting to near finish.

I'm wondering what I should be doing next? Do I just switch the environment to production, and that's it?

Am I already using Passenger if I have it hosted by WebFaction?

Basically, any words/tips on putting the app into production would be extremely helpful. I've been scouring all over the web, and honestly it's making me more confused than I was.

Thanks guys.

asked 08 May '14, 17:04

drewzjin
1315
accept rate: 0%


I'm wondering what I should be doing next? Do I just switch the environment to production, and that's it?

Assuming you're already running the app on our server in development mode, and you have a working production.rb (and production db settings in database.yml), then yes, just change rails_env to production in your nginx config and restart the app.

Am I already using Passenger if I have it hosted by WebFaction?

Yes, our rails installations use Nginx and Passenger (unless you're running a really ancient version of Rails).

Basically, any words/tips on putting the app into production would be extremely helpful. I've been scouring all over the web, and honestly it's making me more confused than I was.

Our own documentation might help :) - you can find it here: Ruby on Rails — WebFaction Software Documentation

permanent link

answered 08 May '14, 22:55

seanf
12.2k41836
accept rate: 37%

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:

×32
×2

question asked: 08 May '14, 17:04

question was seen: 1,977 times

last updated: 08 May '14, 22:55

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM