Ruby on Rails Newbie -


I have received a Rails application on Ruby which is the problem I am halfway through some books on the rail, but right now Have not seen the answers to some questions.

  1. What is the best way to backup the application? Can I just do tar -cvzf app.tgz app ? I still do not know if the app has a sqlite3 database or connects to a DB server.

  2. What's the best way to move an application to another server for testing? Again, I do not know whether this is the backing of sqlite3 or db server.

  3. Thanks,

    Michael

    Update : Yes, I'm using version control I am Now there is no right, I think I am trying to get the question: how APP directory is transportable; Do I need to take anything with me if I want to take the whole application to another computer?

I have to look at Capistorno - this is the deployment / management tool of choice

At its core, it should take your application from source control, configure and configure destination server, and run any database migration.

You can use it to point to multiple servers (eg test, platform and output).

To answer your actual question, you can simply copy your rail directory and move your app (Note: in the app directory not just but rather the original directory as well). You will need to manage your database separately - if you are using MySQL, you can hardly grab files and dump the database in the case of solvents and reconfigure the next server .


Comments