Angular client with TypeScript for the Saxonia Campus conference management.
This project was generated with Angular CLI version 1.6.5 and requires Yarn to run. You should install both Yarn and the Angular CLI globally:
npm install -g yarn
npm install -g @angular/cli
Run yarn install
or simply yarn
to resolve dependencies.
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.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve
.
- Copy your SSL certificate and key for your environment to the
/ssl
directory. Name themserver.crt
andserver.key
respectively. - Make a copy of
environments/environment.ts
, name itenvironments/environment.<your_env>.ts
and adjust the properties to your local environment. - Open
angular.json
and add an environment entry mapping <your_env> to your environements.<your_env>.ts file.
Run yarn run proxy -c <your_env>
for serving the app and using it with a browser of your choice.
.
Run yarn run build -c <target_env> --prod
to build a distribution into dist folder.
Run create-campus.war.cmd
to pack a WAR file from this distribution. This command requires 7zip on the %PATH%.