-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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 setupfaculty-profile
app locally, along with the respective Backend and Frontend repos, he/she also needs to clone two services i.e.common-biodata
andfaculty-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,
- Clone app's Backend and Frontend repos in respective directories.
- Clone dependent services in respective directories.
- Perhaps even migrate the database!
Describe alternatives you've considered
@algomaster99 suggested that,
- We can have a something like
python mange.py resolve-dependancy
which we can execute in python shell itself. - 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
algomaster99 and dhruvkb
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request