Hello. Can someone tell me what important files & folder do I need to compress to transfer it to a live server if I am working on my local system and transferring it to a production/live server? Because I can see that there is lots of files & folders in the sage theme (i.e, node_modules, ~, etc). I am not talking about using the yarn run build:production
command BTW. Thank you for the help in advance. Thanks!
The easy way: everything except node_modules
. You Composer dependencies β i.e. vendor
β is important to include, so make sure youβve run composer install --no-dev
before you go live.
For the bare minimum required files:
Thank you so much for your help. Can you share that bash script? The yarn prep
one?
I did, itβs just hidden. In the linked post, click the caret to reveal it.
For the sake of making things a bit easier, I chucked all of that into a repo with some instructions:
2 Likes
Oh thank you so much. That really helped best of luck
1 Like