chimple / cuba

GNU Affero General Public License v3.0
2 stars 8 forks source link

Cuba

Demo:

For web Demo Click Here

To Download the Debug APK Click Here

Prerequisites

This project requires NodeJS (version 8 or later) and NPM. Node and NPM are really easy to install. To make sure you have them available on your machine, try running the following command.

$ npm -v && node -v
8.5.0
v16.14.2

Installation

BEFORE YOU INSTALL: please read the prerequisites

Start with cloning this repo on your local machine:

$ git clone https://github.com/chimple/cuba
$ cd cuba

To install and set up the library, run:

$ npm install

Usage

Serving the app

$ npm run start

Open in localhost

Open http://localhost:3000/ in your browser

Building the project

$ npm run build

Serve Build folder

$ npm run serve-build

Open in localhost

Open http://localhost:8080/ in your browser

Create android debug apk

$ cd android
$ ./gradlew assembleDebug

Now we can find the apk on android/app/build/outputs/apk/debug/app-debug.apk

Make sure ./gradlew is executable

$ chmod +x ./gradlew

Analytics Dashboard

Chimple Generic Dashboard:

For Chimple Generic Dashboard link Click Here

Step to See New School data on Generic Dashboard:

1.This Dasboard requires permission to access the current viewer's email address in order to personalize the data shown to that viewer. When you consent to sharing your address with that report, the underlying data source can use that to return only the data associated with that address.

Screenshot 2023-08-17 110918
  1. After creating schools and classes in malta. we have to push school information in scool table only once
  2. we need to add user Email id and school ID into Teacher Table ( this step is not required after we release Malta APP). with this step user is part of this particular school

    Use below Query to add Email id along with user Info

INSERT INTO `bahama-stage.proc.teacher` values ('20230802','2023-08-02 05:14:57.932000 UTC','UUID','User Name','School Name','SchoolId','CSeI4m0bA3psWz3Kf62','emailId@gmail.org')