I have webpack/encore installed on my symfony project.
public/build has been added to gitignore but when I deploy on a PaaS like platform.sh, without this folder, my website design is broken.
Should I remove public/build folder from gitignore ?
Thanks in advance.
Platform.sh is designed to have first-class support for your git workflow. So, I'm sure if you added .gitignore
it was for a good reason.
Wherever your app is defined (.platform.app.yaml
or .platform/applications.yaml
) you will want to:
root
is properly configured to handle requests made to your app so that request to your website are handled appropriately.With this in place, from your local machine (and after deployment) run platform ssh
and check to make sure your public/build files exist.