Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Zango Tutorial App

Introduction

This folder contains the source code of the Zango Tutorial App, an app for managing patients.

Application Walk-through

Creating a Patient

patient_creation.mov

Editing Patient Details

patient_update.mov

Patient Workflow

patient_workflow.mov

Steps for setting up the app

1. Setup Zango framework

Setup the Zango Framework locally or through the GitPod option given in the Zango repository

2. Create an app

Create an app named "MyFirstApp" in Zango through the app panel.

3. Install Packages

Install the below required packages from the App Panel. For more information, refer to the Installing a Package.

  1. login
  2. frame
  3. crud
  4. workflow

4. Transfering the code

Copy all the contents from inside the "MyFirstApp" folder in this repository to the "MyFirstApp" folder present in you Zango installation.

5. Create user roles

Create the below user roles from the App Panel.

  1. PatientSupportExecutive
  2. PatientSupportManager

6. Migrate models

To migrate the patient model, execute the following command:

python manage.py ws_migrate MyFirstApp

7. Sync Static Files

To sync static files, run the commands below:

python manage.py sync_static MyFirstApp
python manage.py collectstatic

8. Setup Login Config

Configure the Login package to have the configs mentioned in the image below

image

9. Setup Frame

Configure the Frames package to have the configs mentioned in the image below

frame_config

10. Sync and Assign Policies

Sync the policies and assign the required policies to the user role. For more information, refer to the Syncing Policies and Assigning Policies

Now you can create a user and login through /login route to access the application