TrongBang
TrongBang

Reputation: 967

Rails How To Upload Code To The Production Server

I managed to create my first ROR application, called myapp, locally and I also have created another ROR application on my webfaction server with the same name myapp. My question is every time I run commands "rails generate model" or "rails generate controller", how can I synchronise my local environment with my webfaction server. There seem to be lots of files generated when you run rails commands. Does it mean I have to upload the whole application directory every time I generate something? Kindly suggest with your experience, I'm very new to Rails.

Upvotes: 0

Views: 64

Answers (2)

Mike Szyndel
Mike Szyndel

Reputation: 10592

If I were you I would go for Heroku first. It's free and easy and along the way you will learn some about hosting Rails apps.

Getting started with Heroku is a good place to go first https://devcenter.heroku.com/articles/quickstart

Upvotes: 1

Elad Meidar
Elad Meidar

Reputation: 814

Heroku is indeed the easy way out, if you are looking into more "metal" deployment - use Capistrano

Upvotes: 0

Related Questions