Closed lfbittencourt closed 4 years ago
I don't think we want to make changes to index.php
to make things in local dev work. Will defer to @dstockto or @ericpoe
@svpernova09 The static files check already exists, so it's a simple fix IMO. Let me know if I can do any improvements on this!
@ericpoe Thanks! I followed your advice and updated README-local-dev.md
file. Note, however, that it doesn't address @svpernova09 question about index.php
static assets checking.
I think it was wrong mix both things on the same PR, but do you think we can merge it now? I can close this one and submit two separated PRs if you prefer.
Thanks for updating the instructions, that will certainly help the docker users.
Yes, this PR could have been two separate PRs since it fixes two completely separate problems, which makes reviewing and merging a lot easier.
I am trying to recreate the problem that the code portion of this PR is fixing. Where are you seeing missing assets? Is this in a specific tool? In dev vs production?
I followed
README-local-dev.md
instructions to run the project for the first, however several static assets as JavaScript files were missing since they were not listed inweb/index.php
static file extensions. I replaced that part with a regular expression and added all missing extensions that I found.This PR also includes a little extra instruction about how to use Docker to run a Redis instance.