Add the instructions for running in production

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@44951 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2016-12-13 12:10:41 +00:00
parent 0272dc0250
commit c1699f317d
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,10 @@ A minimal Angular 2 starter for Universal JavaScript using TypeScript 2 and Webp
## AoT and Prod
* `npm run build:prod:ngc` to compile the ngfactory files and build prod
######
npm run build:prod:ngc
PORT = XXXX npm run server
## Universal "Gotchas"
> When building Universal components in Angular 2 there are a few things to keep in mind.