N-thony / parenting-app-ui

PLH App Frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

An initial deployment should be specified via the command

yarn scripts deployment set

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 and so some features may not be availabe (e.g. testing google sign-in) It can 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

About

PLH App Frontend

License:Other


Languages

Language:TypeScript 97.6%Language:JavaScript 1.1%Language:SCSS 0.9%Language:HTML 0.3%Language:Shell 0.0%Language:Dockerfile 0.0%Language:Java 0.0%