hello there
i tried to deploy my new sage (9) Theme by following an old school ftp way. I read the official documentation in the sage book, but it does not help.
My theme works locally on my computer with flywheel. But when i am sending my work on my production server after the “yarn build:production”, the sage theme makes my whole website broken. A message appeared telling me that the wordpress can’t work properly. And nothing is working anymore even the back-office.
what did i missed to make this deployment fine ?
Where could i find a complete tutorial to deploy my theme on a server with the FTP way ?
Thanks for you help.
I did an upload after “yarn build:production” of the “dist” and the “ressource” folders, and “composer update” before the upload of the “vendor” folder.
It does not work.
Well… i don’t understand how Sage works. I should go back to the old school WO development.
OK people,
i followed your advice. I don’t really understand everything but i creates a git_depot on my remote server and i installed composer there, too. I uploaded the “/dist” folder and it is working. Except the url image in my “main.css”. But i think it is related to “local/Flywheel” i suppose, and the way it is managing it.
Thank you for your help. Git, in the worklfow, is still a little mysterious. I can see as powerfull it can be, but how to use it ? the sage documentation would be more explicit, i would be a smiler junior developer !