0 votes
19 views
Hello!
 

I am currently setting up a custom web interface that interacts with an openLCA backend. To achieve this, I am running a Python Flask application that acts as a bridge, connecting to the openLCA IPC server on port 8080 using the olca_ipc library. It currently works great locally, so next I will make it remote.

My desired workflow is to have openLCA running headlessly on my remote server (the same one as our website), and continue building and refining our LCA model locally using the desktop openLCA GUI, push those updates to openLCA Collaboration Server, and then somehow pull those updates directly into the remote server's openLCA instance so our web application always has the latest model.

Since the remote server is running openLCA headlessly, is there a command-line interface (CLI) command, or a specific olca_ipc endpoint, that allows a headless openLCA instance to trigger a pull/sync from a Collaboration Server?

If this isn't possible, what is the best practice for updating a remote headless database? Do we need to manually stop the headless instance, replace the database file, and restart it, or is there a more automated pipeline available?

Thanks everyone!
ago in openLCA by (450 points)

1 Answer

0 votes
ago by (450 points)
Aha.... standard git commands!

https://greendelta.github.io/lca-collaboration-server-manual/chapter_3_10.html

I'll leave my question up in case anyone else googles it

.
...