Answer the question
In order to leave comments, you need to log in
How to do the right deployment?
Hello.
Tired of fiddling with filezila. I want to automate the deployment to the host.
Available:
Git repo1 with source code
Git repo2 with frontend. (Only the file generated from stylus css and images should fall on the site)
There is also a commercial CMS that is updated directly on the working server. That's her license. Before each deployment, you probably need to check whether they were installed or not.
It is necessary to throw all this on the host + synchronize the database on localhost and producton
What can be used for such a task?
What are the ways of the "Correct" deployment?
Please tell me the direction
Answer the question
In order to leave comments, you need to log in
You can twist as many as you like.
1. CI server a bunch of them for every taste and color
for repo1 by hook on some branch for example master or prodaction we update the code on the server
with the database it all depends on the organization of work with it
if there is a migration mechanism, then there is no problem at all
repo 2 wrap it in a package for any convenient npm bower package manager, etc.
with an update under a license, I would not do it on a working server right away, but it's up to you to decide
2 for remote configuration there is also ansible puppet you can screw them
3 docker - collect container with the application, and on the server you stupidly update
In short, there are many options, try it. No one can say exactly how. they will only say what is in trend.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question