worldsibu / convector-example-drug-supply-chain

The current mono-repo is a simple project to showcase the ease and power of Convector by creating a basic Drug Supply Chain fullstack application example.
https://worldsibu.io/convector
Apache License 2.0
31 stars 12 forks source link

Enhancement to run by http://<IP_address>:4200/ instead of http://localhost:4200 only #17

Open pdeoliveira opened 4 years ago

pdeoliveira commented 4 years ago

In /convector-example-drug-supply-chain/@worldsibu/ui/package.json, add --host option allowing it to run by using http://:4200/ instead of http://localhost:4200 only: "start": "ng serve --host=0.0.0.0",

Also in the service: /convector-example-drug-supply-chain/@worldsibu/ui/src/environments/environment.ts, change to: serverUrl: 'http://0.0.0.0:10100'