A
A
anasasiakiri4enko2017-01-25 13:37:30
Ruby on Rails
anasasiakiri4enko, 2017-01-25 13:37:30

How to deploy without losing database data using capistrano 3 (deploy rails)?

Good afternoon.
Tell me, how do you deploy the rails app?
I use capistrano (I have little experience with deployment), every time I deploy an application from scratch (from scratch - the database is migrated and of course the database is empty). Trying the commands that are in cap -T, using the brute-force method - the update / update commands - the result is the same, each time the database is clean.
As I understand it, you need to make a backup of the database and, or other files, and specify the path. Do I understand correctly?
I can't find in the documentation where these actions are described.
How to "correctly" configure the rails app using capitrano 3, or what to read / watch to understand this process? Tell me please.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene Burmakin, 2017-01-25
@anasasiakiri4enko

https://gorails.com/deploy/ubuntu/16.04

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question