S
S
SvizzZzy2017-10-10 16:37:12
git
SvizzZzy, 2017-10-10 16:37:12

How is it now fashionable to upload projects from a local server to a combat one?

Greetings.
I usually work alone on my projects and do it the old fashioned way - with file replacement via FTP.
This, of course, causes interruptions in the operation of sites when files important for the operation of the site are updated :)
I guess that now in 2017 this is done differently.
Superficially familiar with GIT, read some info.
I'm trying to understand how the process of uploading the whole project (including pictures, etc.) to the working server takes place.
So far, this picture has developed:
(Let's say there is only one developer, without a team) 1.
You code on your local machine, you code . something like git clone a repository from github
Is the general meaning correct or are there any particularities?
Maybe GIT is not used for this at all?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stanislav Katkov, 2017-10-10
@SvizzZzy

CI is certainly cool, you should probably strive for this. But for small projects, I use this wonderful tool mina - > https://github.com/mina-deploy/mina script, a bunch of useful features just out of the box - you can roll back the release, start processes, shut down, reboot, and so on. 3. you upload the script to the server and run it - it deploys the release there itself , then it's a matter of technology, how you will deliver this release - you can use git'a, as you already said. or you can pour some tarball onto a server, and distribute it from there ... It all depends on your case, the size of the project and what tools you use :)

N
n-fom, 2017-10-10
@n-fom

Continuous Integration

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question