Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1. In openlmis-ref-distro's compose file, comment requisition service section (so the reference distribution will start without it).
2. Add network_mode: "host" parameter to nginx container in openlmis-ref-distro compose file.
OR add to requisition service docker-compose.yml fle
networks:
 default:
  external:
   name: openlmisrefdistro_default

3. Run openlmis-ref-distro as normal.
4. Enter openlmis-requisition's folder, and edit your .env file to have it's BASE_URL and CONSUL_HOST values the same as in openlmis-ref-distro.
5. Run service as usual with docker-compose run --service-ports requisition.
6. Run npm install.
7. Run gradle consulRegistration.
8. Run gradle bootRun --debug-jvm
9. Attach debugger in your IDE.

...