Skip to content

Script to setup any omniport app #113

@nisarg73

Description

@nisarg73

Is your feature request related to a problem? Please describe.

A single command, to setup any omniport app (along with all the dependent services) in local for development.

  • Why this is required?
    For example, If someone wants to setup faculty-profile app locally, along with the respective Backend and Frontend repos, he/she also needs to clone two services i.e. common-biodata and faculty-biodata. But sadly, user gets to know about these dependent repos only by errors which occurs when he/she tries to migrate the database after cloning app's backend.

Describe the solution you'd like

Since every omniport app and service have a generic nomenclature, we can make a conf file for each app, which will contain names for all the dependent repos.

We can execute this script in codebase/ which will correspondingly,

  1. Clone app's Backend and Frontend repos in respective directories.
  2. Clone dependent services in respective directories.
  3. Perhaps even migrate the database!

Describe alternatives you've considered

@algomaster99 suggested that,

  1. We can have a something like python mange.py resolve-dependancy which we can execute in python shell itself.
  2. Since it isn't necessary for cloning Frontend sometimes, we can make this optional and ask user if he/she wants to setup Frontend as well.

Additional context
This script would save time and efforts which goes into running git clone multiple times in different directories before migrating the app :-)

Want to take up?
yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions