Sunbird UCI
  • Overview of Sunbird UCI
  • πŸ“™Learn
    • UCI use cases
    • UCI for Education(Case study)
    • Tech Overview
      • Glossary
      • High-level Architecture Design
      • Design Principles
      • Standards
  • πŸš€Use
    • Choose your Persona
    • Adopter - Install and use UCI
      • Pre-requisites, Installation Setup, Post Setup
      • Setting up your very first conversation
      • API Documentation
      • Data Exhaust and Analytics
      • Posthog Event
      • Whatsapp (Netcore)
      • Environment Variables
    • Developer - Contribute to UCI
      • UCI Basics
        • XMessage Specification
        • Transformers
          • ODK Transformer
            • Interactive-Messages
            • Media Messages
            • Location
          • Broadcast Transformer
        • Adapters
          • Firebase Notification Adapter
        • User Segment
        • Schema Overview
          • UCI Core Schema
            • XMessage Schema
            • Assessment DB Schema
          • UCI API Schema
      • Development environment
        • Backend Setup
        • Setting up IDE
        • Environment variable setup
        • Debug services
        • Build and Execute UCI
        • Frontend Setup (Admin Console)
        • Frontend Setup (PWA)
        • Transport Socket
      • API Documentation
        • Bot Setup APIs
        • History APIs
        • Direct Message APIs
        • Vault APIs
      • Database Schema
        • Cassandra Xmessage Database
        • Postgres Forms Database
        • Postgres User Analytics Database
        • Postgres Comms Database
      • Contribution Guide
        • Your first PR
        • Contribute an Adapter
        • Adapter Implementation
        • Create a Transformer
    • Contact the administrator
  • βœ…Releases
    • Release V2
  • 🀝Engage
    • Software License
    • Acceptable Use Policy
    • Terms of Service
    • Source Code
    • Discussion Forum
Powered by GitBook
On this page
  • Your machine should have yarn or npm.
  • Check the node and npm version by running the following commands.
  • Installation Steps:

Was this helpful?

Edit on GitHub
  1. Use
  2. Developer - Contribute to UCI
  3. Development environment

Frontend Setup (Admin Console)

Your machine should have yarn or npm.

Note: Preferable versions

Version:
    node 12
    npm 6 

Check the node and npm version by running the following commands.

    node -v
    npm -v

Installation Steps:

1. Fork it

You can get your own fork/copy of Frontend by using the Fork button.

2. Clone it

You need to clone (download) it to a local machine using git clone https://github.com/samagra-comms/uci-admin.git

Once you have cloned the uci-admin repository in GitHub, move to that folder first using the change directory command.

This will change directory to a folder

 cd uci-admin

Move to this folder for all other commands.

3. Set it up

Run the following commands to see that your local copy has a reference to your forked remote repository in GitHub

git remote -v

By running the above command, you can see that the local copy has a reference to the forked remote repository in GitHub.

origin    https://github.com/samagra-comms/uci-admin.git (fetch)
origin    https://github.com/samagra-comms/uci-admin.git (push)

4. Run it

Install dependencies

npm install

5. Build

ng build –prod

Build @dist

Run frontend application in dev environment

ng serve

Browse - http://localhost:4000

Run standalone module in dev environment

PreviousBuild and Execute UCINextFrontend Setup (PWA)

Last updated 1 year ago

Was this helpful?

πŸš€