Skip to content

Latest commit

 

History

History
75 lines (52 loc) · 2.47 KB

README.md

File metadata and controls

75 lines (52 loc) · 2.47 KB

Open in Gitpod

Parenting App UI

Online Documentation

Quickstart

Prequisites

  1. Download and install Git
    This will be used to download the repository

  2. Download and install Git LFS
    This will be used to download any required binary assets, such as images or pdfs

  3. Download and install Node
    This is the programming lanugage required to run the project

  4. Download and Install Yarn
    This manages all 3rd-party code dependencies

Installation

Download the repo with binary assets

$ git lfs clone https://github.com/IDEMSInternational/parenting-app-ui.git

Note - if you do a regular git clone, you can always run git lfs fetch --all later to sync assets

Install required dependencies

$ cd parenting-app-ui
$ yarn install

Note - you may have to do this from time to time when content is updated)

Configuration

Set Deployment

The app supports using different workspace or deployment configurations. These are stored in .idems_app/deployments

To use an existing deployment, run the following script:

yarn workflow deployment set

This will present an interactive list of deployments to select from.

See Deployment Documentation for information about creating and configuring deployments.

Firebase

To be able to run the full project a specific configuration file needs to be included to access the online database and authentication methods.

$ cp src/environments/firebaseConfig.sample.ts src/environments/firebaseConfig.ts

The default file is blank. It should be replaced with a version requested from the dev team.

(Note - this process will likely be simplified in the future)

Running locally

Start the local server

yarn start

This will start a local server and serve the app in your browser on http://localhost:4200

For Content Coders

Please see Quickstart Authors

For Developers

Please see Quickstart Developers