IT-Hub Braunschweig Frontend

Build Status

This is the frontend to ithubbs.de

Run locally

  1. build:

    [cf. https://github.com/nvm-sh/nvm]
    [nvm install node # "node" is an alias for the latest version]
    npm install
  2. run:

    [npm install -g @angular/cli]
    ng serve
  3. frontend available at localhost:4200

Deploy to PCF

  1. Open terminal in project root

  2. Transpile TypeScript to JavaScript, write to to dist-folder:

    ng build --output-path dist\ithubbs\public --configuration=test
  3. Login to PCF

    cf login -a api.run.pivotal.io
  4. Push from dist-folder (where index.html is)

    cd dist\ithubbs
    cf push -f ..\..\manifest_test.yml

Running on PCF

The following configuration is sufficient to run on Pivotal Cloudfoundry:

  • instances: 1

  • Memory Allocated: 64 MB

  • Disk Allocated: 64 MB

  • Price per month on Pivotal Cloudfoundry: < $2,70