Skip to content

Speckle LCA is a web app intended for early phase design, that connects to Speckle and allows to generat LCA metrics using different LCA providers such as LCAbyg or One Click LCA.

License

Notifications You must be signed in to change notification settings

Knuttatutta/SpeckleLCA

 
 

Repository files navigation

Speckle LCA

SpeckleLCA is a web app that connects to Speckle and allows for a simple forkflow to calculate LCA results for early phase design projects. The app is still in development and support One Click LCA as well as LCAbyg for now.

How to run it

To run the app you will need:

  • Node.js has been tested with vesion 16.14.0
  • VSCode or a similar text editor (Neovim 😉)
  • Set the following enviroment variables
    The easiest way is to put them in a .env.local file in the root folder off the project.
VUE_APP_SPECKLE_ID=CHANGE
VUE_APP_SPECKLE_SECRET=CHANGE
VUE_APP_SERVER_URL=https://speckle.xyz
VUE_APP_SPECKLE_NAME="Speckle LCA"
  • Then run npm ci in VSCode or a different terminal
    To download and install the required modules.
  • npm run serve Finally launches the app.

The VUE_APP_SPECKLE_ID & VUE_APP_SPECKLE_SECRET values can be genereated by to Prifile -> Developer Settings -> Aæælications on Speckle and creating a new entry.

Usage

Login to speckle and add app under your account a new application you will get a application ID and a secret ID add thiese to .env.local.

Run web app locally through npm run serve

Should be able to login now at localhost:8080

Troubleshooting

If the build or run fails with ERR_OSSL_EVP_UNSUPPORTED
The enviroment variable NODE_OPTIONS needs to be set to --openssl-legacy-provider like so:

export  NODE_OPTIONS=--openssl-legacy-provider 

About

Speckle LCA is a web app intended for early phase design, that connects to Speckle and allows to generat LCA metrics using different LCA providers such as LCAbyg or One Click LCA.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 88.0%
  • JavaScript 11.6%
  • HTML 0.4%