S
S
Space2017-10-13 20:53:34
git
Space, 2017-10-13 20:53:34

How to develop directly on the server?

The project becomes unbearable for a local PC, and I'm tired of compatibility problems. How to immediately develop on the server?
There is a dev folder with files in it. I edit by ftp, immediately from the editor is poured. Then I upload local files to git so that it can be uploaded to production. But what if there are multiple developers? Let's say we will raise each project in a folder: petr, maks, etc. and each has its own database.
But if you need to put something from the modules on the server, and not in the project, then what to do?
Maybe someone will throw articles, I don’t understand how to google.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
TyzhSysAdmin, 2017-10-13
@ruslite

For each developer, the dev environment is raised.
It is developed on a local computer, sent to the dev server for tests, if everything is ok, then merge in the prod.

A
Alexey Vasilyevich, 2017-10-20
@mariczzz

Have you looked towards Vagrant?
Let you have a local virtual machine that is as close as possible to your production server (software, resources, etc.). Write code, test - upload to the server. Working on a server is the first sign of an unstable development architecture, avoid it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question