Based on YouTube Crash-course Git repo
-
As is right now, you need to modify
serviceUrl
located in environment.prod.ts and replace ip with the one you will be using. -
Than build image with
docker build -t task-tracker:latest .
- Last but not least, run image with docker-compose:
docker-compose -p TaskTracker up -d
npm install
Run Angular server (http://localhost:4200)
ng serve
Run the JSON server (http://localhost:5000)
npm run server
ng build