- Run
sudo apt install docker.io
to install docker and reboot your machine - Run
sudo usermod -a -G docker bob
(replace bob with your username) to add yourself to the list of docker users - Install Docker Compose from here
- Run
docker-compose up
from the givemecoffee folder
- Was generated with Angular CLI version 1.1.2
- Navigate to
http://localhost:4200/
. The app will automatically reload if you change any of the source files - Open bash with
docker-compose exec frontend bash -c "cd /opt/app;bash"
from the givemecoffee folder - Execute commands like
npm update
orng generate component component-name
orng generate directive|pipe|service|class|module
inside that bash - Run
ng build
to build the project. The build artifacts will be stored in thedist/
directory. Use the-prod
flag for a production build
- Correct file ownership of new files, so they can by accessed outside of the container