I
I
ingeniero2018-07-06 11:51:43
Work organization
ingeniero, 2018-07-06 11:51:43

How to organize work on a Web project from two computers?

Hello dear developers!
Please share your experience on the topic of organizing the development of a project from 2 computers.
I do not consider GIT due to development alone.
I use a cloud IDE (PHP + MySQL + Yii2 are located in the same cloud). This allows you not to raise the LAMP server on two machines, as a result, it makes it possible to work with 2 PCs. Normal, but there are failures in work, I want to use a different code editor, etc.
So, there are:
1) 2 PCs (Linux and Windows) from which the Web project is being developed.
2) Web hosting where the project will be posted.
It is required:
To establish work from both with synchronization of the changes made.
Tried:
Sublime text 3 + SFTP plugin (wbond) + hosting project folder.
Didn't fit due to plugin's inability (due to Sublime API limitation) to show project folder tree in Sublime text tree.
Sublime text 3 + WinSCP plugin + placing project folder on hosting.
Couldn't find a description of the setting. Does anyone work like this?
Sublime text 3 + WinSCP + placing the project folder on the hosting.
The logic is simple: select Sublime as the default editor in WinSCP and edit the project files on the hosting. Is it adequate?
Looking forward to helpful advice.

Answer the question

In order to leave comments, you need to log in

7 answer(s)
V
Vlad, 2018-07-06
@ingeniero

Set up work from both with synchronization of the changes made.

You need a version control system. Who said git is only for team development? Git is the best fit. And the changes are convenient to watch and you don't need a bunch of plug-ins to host and upload the file to a remote server. We pushed the branch, pulled it up on the server, resolved conflicts if necessary, that's all. Do not want to raise your git? Take bitbucket or github. Everything is free for one person.
PhpStorm has the ability to synchronize the working directory to the server via sftp or ftp (deployment section in the settings).

S
Stanislav Pugachev, 2018-07-06
@Stqs

I do not consider GIT due to development alone.

further, how can you not read
git not for team development, but for storing and controlling versions of your code,
if it’s easier for you to think in the single-team plane, then in your example I see a team of 3 users of your code: a Linux programmer, a Windows programmer and don't care that this is the same person
, you can also consider hosting as a user of the code, even if only in read mode,
we already have 3 users of your code! sounds like a team! enter the git

V
Victor P., 2018-07-06
@Jeer

Hey!
Something I did not understand why the git does not fit?
I work from two computers and use git for this. And even if this is my home pet project, I still place it in tfs. The screw can fly or the wife steals the computer, you never know what can happen.
Use version control, you will be happy.

M
Maxim Timofeev, 2018-07-06
@webinar

Sublime text 3 + anything = smell of 2000
If git is not an option, then only live, store files on a web host and use a normal IDE to work remotely via ftp.

I
Ilya, 2018-07-06
@ilyapashkov02

If not git, then a flash drive :)

V
Vasya, 2018-07-06
@haramba

Network drive?

M
Maxim, 2018-08-13
@Valter1234

Never encountered such a problem, but saw a remote solution from GitHub. atom has such an awesome feature - Teletype

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question