Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

254 Commits

Repository files navigation

Local4Local Coöperatie Configurator

"Een eerlijke prijs voor lokaal opgewekte stroom en warmte."

A financial and energy calculation tool for Energy Cooperatives.

Live tool: cooperatieconfigurator.local4local.nu
made by Zenmo

Repository components

anylogicSimulation code.
webtoolRoot of the webtool. Contains a Docker compose file to run locally.
├─ frontendSPA based on React and Vite.
Can build an artifact to embed in external website.
└─ gradleGradle main project (nu.local4local) with sub projects:
├─ commonDTOs and serialization logic shared between frontend, backend and AnyLogic.
├─ backendWebserver based on Kotlin and http4k.
└─ /clientLibrary to connect from AnyLogic.

Local environment

Webtool

1. cd to webtool

2. Copy ngrok.example.env to ngrok.env and optionally fill it out.

3. Install dependencies:

docker compose run --rm gradle-js
docker compose run --rm npm-base 

4. Run components:

docker compose up -d backend frontend

AnyLogic

Ensure client library is up-to-date

cd webtool
docker compose run --rm gradle-client-shadowjar

Alternatively with local java installation v17 or older:

cd webtool
./gradlew[.bat] client:shadowJar

About

Model en webapp voor het doorrekenen van energiecooperaties voor het Local4Local project

Resources

Stars

1 star

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages