Skip to content

Chamberlain UI

Vidya Akavoor edited this page Aug 30, 2021 · 3 revisions

The client provided in this repo is an Ionic/Angular application and can be used to view the contents of your chamberlain database and submit workflow requests to your cardinal servers.

Running locally

Follow the steps below to run the client locally:

  1. Install the Ionic CLI if you don't have it installed already: npm install -g @ionic/cli

  2. Navigate to the client folder of this repo in your terminal.

  3. Install the application dependencies: npm install

  4. Connect the application to the chamberlain server

    1. In the file client/src/environment/environment.ts change the serverUrl variable to point to wherever your chamberlain server is running.
    2. If you want to build your app in production mode, you will have to edit client/src/environment/environment.prod.ts to point to where your production server is.
  5. Start the application: ionic serve

    This command should automatically open a tab in whatever browser window you have open with the application run in it.

Clone this wiki locally