Content
You are here:
Home page did not show any images or styling
Added by Joseprabu Inbaraj over 10 years ago
After installing openproject, when I ran it in production mode, the home page came up, but with no images or styling. It had simple html controls and texts.
To resolve this issue, I made the following change to production.rb file in /config/environments/production.rb
- Disable Rails’s static asset server (Apache or nginx will already do this)
#config.serve_static_assets = false # Commented out above line to make the value as true
config.serve_static_assets = true
[Found this fix in a different thread as part of a resolution for a different problem. Since it helped me in resolving this specific problem I faced, felt this is worth being recorded in a thread/message of its own.]
Replies (1)
Thanks for documenting the issue and providing the solution!