I
I
ImVeryStupid2020-07-07 09:28:15
Web development
ImVeryStupid, 2020-07-07 09:28:15

How to simply and correctly send the finished code to work on the server?

I write .php files on a local PC (I check on openeserver) and I want to send them to a remote server in a specific directory in a few clicks so that they work there. I have git installed on the server, but I was messing around all day yesterday and I got the impression that git is not really for this . As I understand it, the only option left is to write your own script and transfer files via ftp?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Pavel Shvedov, 2020-07-07
@ImVeryStupid

https://gist.github.com/noelboss/3fe13927025b89757...

T
ThunderCat, 2020-07-07
@ThunderCat

PHP/Webstorm can deploy via ftp/sftp, set up deployment folders (tools-deployment-config) and right-click on any file - you will see the upload that ...
Profit.

N
necrodeflorator, 2020-07-07
@necrodeflorator

Look towards gitlab ci/cd

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question