You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"localhost": "http://localhost:8000/",
"toep1": "http://toep.iks.cs.ovgu.de/",
"toep": "http://localhost:8000/", <---- this one should be "toep"
"toep1": "https://openenergy-platform.org/"
}
Start react frontend by using "npm start" in factsheet/frontend
To run django and react frontend using
-> python3 manage.py runserver
Do steps avobe ^
Run management command
--> python3 manage.py build_factsheet_app
In factsheet/templates/index.html
update this main.833238dd.css <link rel="stylesheet" href="{% static 'factsheet/css/main.833238dd.css' %}">
and update this main.b6207987.js <script src="{% static 'factsheet/js/main.b6207987.js' %}"></script>
with file names that you can find in factsheet/static/css and factsheet/static/js
--> only file names that end with .js or .css are relevant
---> The hash value changes with each update and must be inserted into the index.html
Scenario BundleFeature of the oeplatform.Scenario ComparisonQuantitative or qualitative comparison of scenarios that are uploaded to the oep.
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Developer settings für Scenario Bundle
-> Change to:
Use this one and comment the other ones
comment all @loging_required --> #login_required
To run django and react frontend using
-> python3 manage.py runserver
Do steps avobe ^
Run management command
-->
python3 manage.py build_factsheet_app
In factsheet/templates/index.html
update this main.833238dd.css
<link rel="stylesheet" href="{% static 'factsheet/css/main.833238dd.css' %}">
and update this main.b6207987.js
<script src="{% static 'factsheet/js/main.b6207987.js' %}"></script>
with file names that you can find in factsheet/static/css and factsheet/static/js
--> only file names that end with .js or .css are relevant
---> The hash value changes with each update and must be inserted into the index.html
Beta Was this translation helpful? Give feedback.
All reactions