Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.01 KB

README.md

File metadata and controls

44 lines (27 loc) · 1.01 KB

NoDrainer

This project was generated with Angular CLI version 18.1.4.

Install locally

Prerequisites:

Clone and set up:

  • Get repo: git clone https://github.com/NoDrainer/web.git
  • Install deps: npm install

Development server

  • Dev: npm start.
  • Prod: npm run start.prod.

Build

npm run build.

Running unit tests

  • npm test

Deploy to Production

Project is hosted on AWS.S3 and uses AWS.CloudFront. Deploying requires AWS CLI installed and configured.

Prerequisites

  • AWS CLI installed locally
  • Configure AWS defaults: aws configure
  • AWS preview.cloudfront enabled: aws configure set preview.cloudfront true

Deploy

The following command builds project in production mode, uploads files to S3, and invalidates cache for the html files:

npm run deploy