How to import json_project config programatically? #2463
-
Hello! I am trying to dockerize Scada-LTS so that I can start it automatically from a config file with all my data sources/points (for instance, an exported json_project) but I haven't been able to find where is the config stored when I manually upload the JSON config in the UI import/export menu. Could you provide some info about it? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @cpinon-grd,
For more information, please contact: Best regards, |
Beta Was this translation helpful? Give feedback.
Hi @cpinon-grd,
I don't know if this is what you're asking, but the 'Import project' function is to clean and update the mysql database, according to the data contained in the file. If you want to access this database, you can log into the container, then you can access it through SQL queries. Or put the database server port outside the container and connect with a client, e.g. Dbeaver.
However, if you have exported the configuration and you do not know where the file from this export is saved, it is saved locally according to the browser configuration, usually a Download folder is configured by default.
If you decide to use docker in a production environment, you need to configure: h…