Skip to content

ELEVATE-Project/observation-survey-projects-pwa

Repository files navigation

The Elevate PWA is developed using the Ionic framework. This document provides instructions on setting up the development environment.

Contents

Dependencies

Requirement Description
Ionic CLI Version 7.1.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework @ionic/angular 7.0.0 @angular-devkit/build-angular : 17.0.0 @angular-devkit/schematics : 17.0.0 @angular/cli : 17.0.0 @ionic/angular-toolkit : 11.0.1
Capacitor Capacitor CLI : 6.0.0 @capacitor/core : 6.0.0
System nodejs : v18.20.3 npm: 10.7.0

Additional information

Setting up the CLI

  1. Install the Ionic framework.

    npm install -g ionic
    
  2. Install the Ionic client.

    npm install -g @ionic/cli
    

Setting up the Project

  1. Clone the repository.
  2. Go to the project folder using the below command.
    cd observation-survey-projects-pwa
    
  3. Set the environment variables in the src/environments/environment.ts file.
  4. Run npm i.

Building the Application

  1. Run the project on your local system using the following command:

    ionic serve
    

Debugging the Application

  1. Open the running app in the browser.
  2. Start inspecting using Chrome dev tools or any alternatives.