quintel / etengine

Calculation engine for the Energy Transition Model
https://energytransitionmodel.com/
MIT License
14 stars 7 forks source link

locally running ETEngine: "tailwind.css" is not present #1352

Closed nick-gorman closed 9 months ago

nick-gorman commented 11 months ago

When I attempt to run the ETEngine locally using docker, after running dock-compose up and opening http://localhost:3000/ in the browser, I get the following result:

image

I think the main issue appears to be a missing file called tailwind.css

This is using the latest version of ETEngine on the master branch (6231e03)

Note the one step I skipped in the install process was adding the ETSource decryption password, as I haven't obtained this yet, and was hoping there is some sample non-encrypted data I could run the engine and model with.

nick-gorman commented 11 months ago

Based on this rails issue: https://github.com/rails/tailwindcss-rails/issues/158

I ran the command docker-compose run --rm web bash -c 'bin/rails assets:precompile' before rerunning step 3 of the ETEngine docker install process, this fixed the issue. But looks life the ETEngine setup process needs to be updated to make sure tailwind.css gets added.

Charlottevm commented 11 months ago

Hi @nick-gorman ,

Thank you for opening this issue and bringing our attention to the outdated ETEngine setup process. It was indeed on our to-do list to change the ETEngine setup process, apologies for the inconvenience. Happy to see you found a solution in the meantime! If you need any additional help from us or if anything else is unclear don't hesitate to open another issue 👍

github-actions[bot] commented 9 months ago

This issue has had no activity for 60 days and will be closed in 7 days. Removing the "Stale" label or posting a comment will prevent it from being closed automatically. You can also add the "Pinned" label to ensure it isn't marked as stale in the future.