Re: [Rails] Taking project from deveopment through test to production (worflow)

2017-09-11 Thread Colin Law
On 11 September 2017 at 18:41, Ben Edwards wrote: > Thanks for that, stated looking at the testing guide but was confused as to > how to setup the test database. It seems it is talking about unit testing > and does all the setup/pull down in the background. As has already been suggested, work ri

Re: [Rails] Taking project from deveopment through test to production (worflow)

2017-09-11 Thread Ben Edwards
Thanks for that, stated looking at the testing guide but was confused as to how to setup the test database. It seems it is talking about unit testing and does all the setup/pull down in the background. https://www.google.com/url?q=https%3A%2F%2Frailstutorial.org&sa=D&sntz=1&usg=AFQjCNHycyJCw8I6

Re: [Rails] Taking project from deveopment through test to production (worflow)

2017-09-11 Thread Ben Edwards
Thanks, so the testing database is used for unit testing (and I don’t have to worry about creating it/emptying as rails does this for me?). I guess I was talking about integration testing, witch sounds like what people mean when they talk about staging. Ive previously worked in telecoms doing

Re: [Rails] Taking project from deveopment through test to production (worflow)

2017-09-10 Thread Norbert Melzer
On 09/10/2017 08:33 PM, Ben Edwards wrote: > Sorry 'git checkout test'.  I have develop, test and master branches.  > When I am ready to test for a release I merge develop into test.  Cant > see how I don’t want to be in test branch for testing or am I doing > this all wrong. This sounds like a con

Re: [Rails] Taking project from deveopment through test to production (worflow)

2017-09-10 Thread Hassan Schroeder
On Sun, Sep 10, 2017 at 11:33 AM, Ben Edwards wrote: >> "git test branch"? What? Running tests has nothing to do with any >> particular git branch. And ideally you'd be writing and running tests >> continually throughout development. > Sorry 'git checkout test'. I have develop, test and master

Re: [Rails] Taking project from deveopment through test to production (worflow)

2017-09-10 Thread Walter Lee Davis
> On Sep 10, 2017, at 2:33 PM, Ben Edwards wrote: > > Thanks for your reply, > > I think I can work out most of the stuff but its the cloning the dev (db) > into test that I cant work out. Seem to remember it saying something in the > ruby config about the test database being re-writern fr

Re: [Rails] Taking project from deveopment through test to production (worflow)

2017-09-10 Thread Ben Edwards
Thanks for your reply, I think I can work out most of the stuff but its the cloning the dev (db) into test that I cant work out. Seem to remember it saying something in the ruby config about the test database being re-writern from development (not sure how/when) More comments in-line below.

Re: [Rails] Taking project from deveopment through test to production (worflow)

2017-09-10 Thread nynhex
Or you can use this link which is very detailed and easy to follow. https://gorails.com/deploy/ubuntu/16.04 > On Sep 10, 2017, at 11:13 AM, Karthikeyan A K <77mi...@gmail.com> wrote: > > If you need simple thing like deploying Rails (i.e going to prod

Re: [Rails] Taking project from deveopment through test to production (worflow)

2017-09-10 Thread Hassan Schroeder
On Sun, Sep 10, 2017 at 9:05 AM, Ben Edwards wrote: > 've been googling for this for a while wit little joy. Maybe I’m using the > wrong search terms but I’m very surprised there is not a howto guide;(, > > What I am trying to work out it how to take a project from development to > test (and test

Re: [Rails] Taking project from deveopment through test to production (worflow)

2017-09-10 Thread Karthikeyan A K
If you need simple thing like deploying Rails (i.e going to production) follow this: https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rbenv-on-ubuntu-16-04 Once you have mastered it, you can move to something called capistrano that will make you to do this stuff q

[Rails] Taking project from deveopment through test to production (worflow)

2017-09-10 Thread Ben Edwards
've been googling for this for a while wit little joy. Maybe I’m using the wrong search terms but I’m very surprised there is not a howto guide;(, What I am trying to work out it how to take a project from development to test (and test) and then to production. I will make the environments the

[Rails] Taking project from deveopment through test to production (worflow)

2017-09-10 Thread Ben Edwards
I've been googling for this for a while wit little joy. Maybe I’m using the wrong search terms but I’m very surprised there is not a howto guide;(, What I am trying to work out it how to take a project from development to test (and test) and then to production. I will make the environments the