Find the Azure Functions Serverless API for this app located here.
git clone git@github.com:johnpapa/one-with-angular.git one
cd one
npm install
Discard the .git
folder
rm -rf .git # OS/X (bash)
rd .git /S/Q # windows
- Install and run Docker
- Create the Docker image and run it locally
docker-compose up -d --build
open http://localhost:4200
- Create the Docker image and run it locally
docker-compose -f docker-compose.debug.yml up -d --build
open http://localhost:4200
Open VS Code, launch the Docker: Attach to Node
debugging profile
dockerImage=one-with-angular
port=4200
docker build -t $dockerImage .
docker run -d -p $port:3000 $dockerImage
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.