I developed a Rails 3.0 application on Windows. It connects to a couchDB
database. Everything works fine.
Now, I would like to take my application and put it on another machine
which runs under Linux.
I already migrated the database to this new machine.
What is the best solution to move my application from one machine to the
other one?
I saw many hints to deploy an application but no precise solution...
Thank you
Regards
You should just be able to copy the complete application, run bundle
install and start the server. That assumes you have installed ruby
and rvm on the linux machine of course.
works really well. best part is if the new code pushed the ubuntu blows up for what ever reason. it’s very simple to roll back to the old working version.
I always worked in windows. I developed my rails application on my
windows environment.
Now, I have a Linux environment where I would like to put my application
running.
To do that, Is it only necessary to pack my application directory, copy
the packed file to the linux environment, unpack it and run the
application as in Windows? (> rails s)
I tried to do that but I had errors, so I think it is not the correct
way.
I read about capistrano and I would take a look to see if it is what I
am looking for.
If you have another suggestion, it will be welcome. You have mentioned
the existence of tutorials. Can you suggest me a specific one?
I always worked in windows. I developed my rails application on my
windows environment.
Now, I have a Linux environment where I would like to put my application
running.
To do that, Is it only necessary to pack my application directory, copy
the packed file to the linux environment, unpack it and run the
application as in Windows? (> rails s)
I tried to do that but I had errors, so I think it is not the correct
way.
Yes, that should work, except that you need to run bundle install
before starting the server. Assuming you have everything installed
and are using rvm.
I read about capistrano and I would take a look to see if it is what I
am looking for.
No need if you are just using the machine for development work.
To check you have everything installed ok try making a new app on the
linux machine.