1

this a silly question no doubt but I am a beginner and could not find the answer.. how can I launch a git branch somewhere on my site, without affecting my master branch.. so see the changes it contains?

I'm using RoR... thanks.

mtay
  • 1,336
  • 4
  • 20
  • 36

2 Answers2

1

Set up a separate development/staging site to test your branch on, and if it works, then apply the changes to the live site. You can search around for how to set up a ROR staging site, and google will turn up plenty of examples (including results from Stack Overflow, such as this one.)

Community
  • 1
  • 1
J. Taylor
  • 4,567
  • 3
  • 35
  • 55
-1

I've written a guide for deploying a Rails site using Ubuntu which may be helpful to you: http://ryanbigg.com/deployment/getting_started_ubuntu.html

Ryan Bigg
  • 106,965
  • 23
  • 235
  • 261