The Elevate PWA is developed using the Ionic framework. This document provides instructions on setting up the development environment.
- Dependencies
- Setting up the CLI
- Setting up the Project
- Building the Application
- Debugging the Application
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 |
-
Install the Ionic framework.
npm install -g ionic
-
Install the Ionic client.
npm install -g @ionic/cli
- Clone the repository.
- Go to the project folder using the below command.
cd observation-survey-projects-pwa
- Set the environment variables in the
src/environments/environment.ts
file. - Run
npm i
.
-
Run the project on your local system using the following command:
ionic serve
- Open the running app in the browser.
- Start inspecting using Chrome dev tools or any alternatives.