This project was generated with Angular CLI version 11.2.3.
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.
Run ng test
to execute the unit tests via Karma.
Deploy to the aws cloud-front:
- Install serverless if you don't have
npm install -g serverless
- All other dependencies are in package.json devDependencies section. To install them locally just run
npm install
once.
npm install
- Configure serverless.yml file to match your environment and aws configurations. Specially the
provider->profile
section andcustom->distributionIds
section. - run
serverless deploy
to deploy.
serverless deploy