Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Client side files are not loaded #58

Open
el4zar opened this issue Mar 15, 2018 · 3 comments
Open

Client side files are not loaded #58

el4zar opened this issue Mar 15, 2018 · 3 comments

Comments

@el4zar
Copy link

el4zar commented Mar 15, 2018

There are several files that doesn't get loaded on the main page this includes:
application.css
application.js
and logo_bigger

Is there any solution for this? I can see in developer tools that these files get 404 status code...

@foxyganon
Copy link

By chance does this result in pages not rendering graphics and rich text properly? I downloaded WarVox around February and its not loading any pictures or rich content for me. The content files exist and the css files appear to be the pointing to the correct locations but nothing but plain-text and form input fields and buttons show.

@mainframed
Copy link

I just had this problem. The fix is in the README for anyone else here:

https://github.com/rapid7/warvox/blob/master/README.md#assets

@tit0n
Copy link

tit0n commented Feb 25, 2019

To get assets to show up, you need to first compile assets in production environment:

RAILS_ENV=production bundle exec rake assets:precompile
This will compile all static assets into public folder.

Next, you need to enable the RAILS_SERVE_STATIC_FILES environment variable through the terminal:

export RAILS_SERVE_STATIC_FILES=true

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants