shmihshmih / rush

Collection of rush services.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rushservice

ng build --configuration production firebase login --reauth firebase deploy

Development server

Run ng serve for a dev server. Navigate to http://localhost:777/. The app will automatically reload if you change any of the source files. Run export NODE_ENV=production && nodemon app.js/node app.js(16059) for a nodejs server with production settings. It will work on localhost:5000.

Build

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. Tips for server: use PM2. install locally with npm install pm2 --save, start it with node_modules/.bin/pm2 --help. In config change default and production environments. pkill node - kill node server process. Also you might use NODE_ENV=production NODE_PORT=7564

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

About

Collection of rush services.


Languages

Language:TypeScript 57.7%Language:JavaScript 22.5%Language:HTML 15.1%Language:SCSS 4.5%Language:CSS 0.2%