R
R
Roman Fov2015-09-09 01:21:23
git
Roman Fov, 2015-09-09 01:21:23

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

2 answer(s)
N
nonlux, 2015-09-09
@nonlux

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.

I
Ilya, 2015-09-09
@FireGM

If you have a little knowledge of python or want to look at the basics, then I would recommend Fabric . I deployed django with it myself. But I also did all sorts of server setup under nginx/uwsgi/python. But docker certainly looks better.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question