Reputation: 1
Is it ok to use composer on localhost to upgrade core and modules, and then FTP the files to the server?
I'm on shared hosting, and although it's possible to use SSH with GIT, it's a pain to set up...
Some information about my use case:
Upvotes: 0
Views: 78
Reputation: 1012
The question is very general and, I think, it has some "conflict" of ideas.
Your question:
Is it ok to use composer on localhost to upgrade core and modules, and then FTP the files to the server
Technically yes. But this method has lots of disadvantages:
git checkout
git
(or rsync
) FTP will upload all files to the server. Other tools will upload just the diff between previous version and the current. So I will always choose rsync
over FTPYour question:
I'm a site builder, and the only code I touch are the CSS files of the theme. Will this workflow be ok
Sounds correct - but remember the composer issue..
Upvotes: 1