Skip to content

GreenDelta/recirce-block-tool

Repository files navigation

ReCircE - Block Tool

The ReCircE Block-Tool calculates recycling rates and CO2 footprints of waste treatment scenarios of complex products. It is a web-application that was developed in the ReCircE project.

Building from source

The tool is a React application with a back-end written in Go. Thus, in order to build the tool from source you need to have a current version of Node and Go installed. The front-end can be compiled like this (npx webpack watch during development):

npm install
npx webpack  # watch

This will produce the artifacts for the user interface in the static folder. The back-end can be build like this:

cd server && \
    go build -o ../app && \
    cd ..

The server can be then simply started like this:

./app

This will create a database in the data folder and start the application at port 8080 serving the files from the static folder. Navigating your browser to http://localhost:8080 should bring you to the tool then. You can also specify alternative settings for the tool like this:

./app -data DATA_DIR -static WEB_DIR -port PORT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published