B
B
Bogdan2018-05-22 10:56:03
Ruby on Rails
Bogdan, 2018-05-22 10:56:03

Deploy to VPS is the right organization?

Hello. Tell me please?
I sort of already have a project structure and 3 repositories on the git:
1) For Docker-compose.yml
2) For the backend on Rails
3) For the front on Vue.
I upload the project to the VPS:
1) I send the necessary git push repositories to git.
2) I go to the server via SSH and do git pull in the right directory
3) If there were changes in the front repository, then docker build to create a container with files for SPA
4) restart the docker.
How could this process be automated?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artur Bordenyuk, 2018-05-22
@HighQuality

Can. Capistrano .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question