-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Christian Hochlin edited this page Nov 27, 2018
·
3 revisions
This documentation can be used as a reference when using/testing the PoC. The intention is to create a streamlined developer workflow in a microservice environment.
For more information, check out the Explanations-section in the sidebar.
Starting development:
-
docker-compose up -dordocker-compose upto run either in detached mode or not.
Changing a node-service without adding new dependencies to package.json:
- Make your changes
docker-compose restart <servicename>
Changing a node-service that adds a new dependency
- Make your changes
-
docker-compose downor Ctrl+C (depending on if in detached mode) docker-compose build <servicename>docker-compose up
Changing a .Net-service without adding new nuget-packages:
- Make your changes
- App will hot reload
Changing a .Net-service that adds new nuget-packages:
- Make your changes
-
docker-compose downor Ctrl+C (depending on if in detached mode) docker-compose build <servicename>docker-compose up
Adding a new service:
-
docker-compose downor Ctrl+C (depending on if in detached mode) - Add the new service (using scaffolding?)
- Add a corresponding entry to docker-compose.yml and docker-compose.override.yml
- Add an entry to gateway/ocelot.json
docker-compose build gatewaydocker-compose up