maritimeconnectivity / IdentityRegistry

MCP (Maritime Connectivity Platform) Identity Registry API
http://maritimeconnectivity.net/#core_components
Apache License 2.0
16 stars 8 forks source link

updates on MIR setup document and following resources #12

Closed JinkiJung closed 4 years ago

JinkiJung commented 4 years ago
oliverhaagh commented 4 years ago

Thanks for the PR @JinkiJung! Good that you made a section about setting up the database! Importing the content from create-tables.sql and create-mc-org.sql should not be done from the setup script though, as it will make the execution of the program fail the first time it starts. The reason for this is that flywaydb handles creation and migration of tables when the program starts, and if the tables already exists on the first run flywaydb will fail. Importing the content from create-mc-org.sql should only be done after the first execution as described in the section "Putting everything together".

JinkiJung commented 4 years ago

Thank you @oliverhaagh ! I will apply your valuable comments to the documents and the setup-db.sh. 👍