Web assets 404 errors with default install

Issue #7 resolved
Milovan Zogovic created an issue

I've used pip to install the localstack, and then ran localstack web to boot it up. When i open it in browser, nothing works because css/js assets fail to load (404) errors.

Example of asset url: http://0.0.0.0:8000/node_modules/@atlassian/aui/dist/aui/css/aui.css

Comments (5)

  1. Waldemar Hummer Account Deactivated

    Thanks for the bug report. We probably don't want to automatically install the entire set of Web dependencies on pip install localstack, but what we should do is check and install the dependencies (i.e., make install-web) when running localstack web for the first time.

    Would you be able to provide a pull request to add this functionality?

  2. Milovan Zogovic reporter

    I only really needed the S3 part (for now), so i gave localstack a try. It was too slow to run on our CI (via docker), so I've decided to switch to something more lightweight (minio).

    I'm sorry I can't submit PR. I really don't now any python. I'm ruby guy. Just wanted to try this out and found a problem i wanted to report.

    cheers.

  3. sn0wcat

    I've just run localstack 0.3.4 in docker. The web dashboard doesn't build (as mentioned above) and the docker start script doesn't start it either. as it only runs make infra and that doesn't include the web.

    Additionally the README.md implies that the web dashboard runs on port 8080 (docker ...-p 8080:8080) but make web runs the server on 8081 so you might want to fix the README.md documentation as well, and include the dashboard in the list of services which are automatically started when running the docker image.

  4. Log in to comment