D
D
Dmitry2019-08-13 09:31:50
Software Deployment
Dmitry, 2019-08-13 09:31:50

How to deploy a php project to shared hosting?

Hello.
Sharer of experience, who deploys php projects to shared hosting?
It is necessary to deploy projects in php (run composer, run database migrations), sometimes wodpress themes.
There is an opinion that deploying via FTP is not correct. There is also an option to deploy via git.
Project code in git repositories (Gitlab or Azure DevOps services). The use of third-party systems should be kept to a minimum.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Shitskov, 2019-08-13
@wedun

First, the assembly (composer and other tinsel), then the deployment with migrations.
Ftp is so-so, git is no better. It is better to use rsync, and better deployment tools, such as capistrano / ansistrano or analogues - unfortunately, I only had a chance to work with these.

M
Makssof, 2019-08-13
@makssof

git clone (fetch later)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question