Logo

    Home

    Documentation

    Use Cases

    Training

    Applications

    Release Notes

    Setting up an own openEdge DB

    Setting up an own openEdge DB

    1. Add a “.df” , a “.st” and a “.pf” file
    2. Declare the db connection in the “.build/compose/base.docker-compose.yml”
    3. Declare the db properties in the “openedge-project.json”
    4. Declare the service in the “.build/compose/workspace.docker-compose.yml”
    5. Commit your changes and spin up a new workspace on the same branch
    6. You should see now a new container for your DB is initialized
    7. You should see the autogenerated changes in the: (Please do not touch this files manually)- .deploy/standard.deployment.docker-compose.yml- .deploy/workspace.docker-compose.yml- .deploy/portainer.deployment.docker-compose.yml
    8. The last step is to generate a table-definitions file with the following command in the ABL scratchpad:RUN Akioma/Swat/Util/buildTableDefinitionFile.p("", "/workspace/app/backend/DB/customerdb/table-definition-customerdb.xml", "customerdb", ?).
    9. Commit everything and test the database connection
    Logo