Repository for SER517-Group20 for DrinkRank project
-
Download and install Node.js (with built-in nmp)
-
Install the lastest Angular-Cli with command
npm install -g @angular/cl
. -
Under the root of front-end, use command
npm intall
to install the reqired modules. -
Under the root of front-end, use command
ng serve
to preview the front-end. The default host islocalhost:4200
. -
Use command
ng build
to build. The built result is under/dist/
. -
A deployment script
/scripts/deploy.js
is created. Follow the setup guide insidedeploy.js
and usenpm run deploy
to build and deploy to AWS S3.
- Go to this link.
Original template for the front-end: https://github.com/cornflourblue/angular2-registration-login-example