I am trying to develop a server that will store the DAMLcontracts into a PostgreSQL database.
Reading the documentation I could identify the following requirement for this task:
the standalone JAR to expose the HTTP API;
the PostgreSQL driver to intermediate the ledger and persistent storage connection;
So far I am running locally with the help of the SDK (DAML deploy), do I need the SDK for the production environment as well or is there any alternative command for this task?
Also, am I missing anything or this is pretty much the backbone of a DAML ledger server with PostgreSQL?
You can also run the Daml Driver for PostgreSQL as a standalone JAR. The documentation contains instructions to download it and run it, alongside further guidance.
Indeed, if you are running the Daml Driver for PostgreSQL that’s all you need.
If I understood correctly, the command daml deploy allocates the parties and uploads the DAR files to a specific port, and on my workflow, it seems the only time which I used the SDK, then you said I could do it manually, so I wondered where to find it.