L
L
Lev Nemirovsky2017-09-29 06:14:26
JavaScript
Lev Nemirovsky, 2017-09-29 06:14:26

How to automate development as much as possible?

Hi everybody.
The problem is next.
I understand how to use CI and Docker to automate Deploy and server tests.
But as a rule, this process takes time, which, if necessary, instantly check what you coded (we make web applications), is not very good.
Share articles/schemes on how to automate the development
process
It is required that, during the development of a web application, it is automatically deployed to a server where the client can always log in and see how the development process is going, while for developers, visual changes are visible after replacing the line (do not wait until the CI process passes after the next comment)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kn0ckn0ck, 2017-09-29
@kn0ckn0ck

The answer depends on how significant your deployment is. For example, in phpStorm, you can automate the upload of changed files to the server (this is also a deployment, after all), more details .
If, before the actual deployment, you need to "assemble" the application, that is, run all sorts of preprocessors, pack it, take it to directories, etc., then you can't get away from the actual deployment procedure even if you change one character.
In order for the deployment not to be long, you need to do two deployments:
1. to the developer environment (you have a docker) by commit, but without serious testing
2. to the UAT/combat environment with already serious testing and maybe with a wait of 10 minutes after commit (to collect more commits in the deployment).
So, the client will look at environment 1, the delay between the code change by the developer and its appearance in the application on this environment will hardly be more than 1 minute, and faster and hardly necessary.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question