S
S
Space2015-05-20 11:21:12
PHP
Space, 2015-05-20 11:21:12

Through which program is it better to update files on the server (website)?

What is the most convenient way to edit scripts on the server so as not to manually re-download them every time after the change? Those. in order to have some kind of direct connection, I edited the necessary script on the computer, everything was updated on the server. And then every time to load on the server manually oh how inconvenient.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Andrey Khokhlov, 2015-05-20
@ruslite

php storm has auto upload via ftp/sftp

I
index0h, 2015-05-20
@index0h

git
Bad idea, very, very bad. Directly on the server, only the download of changes from the repository is performed, or administrative work, such as editing configuration files.
You make a change with an error and press ctrl+s, and people will see the error, which is not acceptable in production.
Specifically for development - vagrant

M
Melkij, 2015-05-20
@melkij

Made changes, committed to git, pushed to the repository. The continuous integration server rolled out the changes to a combat-like environment. After checking, it rolls out into a combat environment.
If we are talking about a dev-machine, then whoever is more comfortable:
- vagrant with a shared directory (well, or just a virtual machine and sshfs / nfs / etc)
- plug the dev-environment directly onto the working machine

A
AlexChebanenko, 2015-05-20
@AlexChebanenko

If you are developing a site in PHP, then you can use the Netbeans development environment.
She is able to send to the server via FTP or SFTP when saving.
And you can immediately try it out.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question