From c1699f317dfa39293e68ce3f587650adf5ddbe18 Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Tue, 13 Dec 2016 12:10:41 +0000 Subject: [PATCH] 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 --- portal-2/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/portal-2/README.md b/portal-2/README.md index bb1ab316..340849e8 100644 --- a/portal-2/README.md +++ b/portal-2/README.md @@ -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.