P
P
pingo2022-03-31 08:44:07
Ruby on Rails
pingo, 2022-03-31 08:44:07

Can you suggest a scheme for porting ROR code from a container to a development environment?

Guys, it's not difficult for anyone, give a summary of the roadmap for deploying the dev environment.
There is only ROR code from the container, there is a base dump, that's all. In a Ruby 2.4 and Rails 5.2 container.
It’s just that I’m from a different stack, I’m not catching up with some things a little, and the coder who made the project disappeared somewhere, probably left for Lisbon on a D visa, the server where all this was spinning died.

What I tried:
0. Ruby installed locally, libraries are everything that is in the product container.
1. Built a container with pg with the same ENV as in config/database.yaml,
2. Rolled up dumps on all environments,
3. gem install bundler && bundle update, (it turned out with grief in half)
4. yarn install
5. rails s

.. Well, it's clear that nothing works, maybe I forgot something? do I need to run migrations?

Thank you very much, I heard that the ruby ​​community is very friendly :)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question