I am new to MOSIP and I want to be able have a quick run to have full overview of MOSIP system. However, I dont how to start the system on my local computer.
So I wonder is there any docker compose file for MOSIP where I can run it on my local machine? Or is there any option for me to able setup and run it quickly?
Thanks
2 Likes
Hi @sreangrathanak
Welcome to MOSIP! We understand that getting started with a new system can be overwhelming, but we’re here to help you. To quickly set up MOSIP on your local machine, our team will share guide and you can follow the same.
We would like to know more on which module you would like to work and explore !
Best Regards,
Team MOSIP
Thanks @sreangrathanak for letting us know on the modules you would like to work on, our team will get back to you on the specified modules.
1 Like
Thanks for your lighting speed reply.
1 Like
Hello Team MOSIP,
May I get any developer guideline or document while waiting?
Best regards,
Rathanak
Hi @sreangrathanak
Till the time our team is getting back to you on the above query, you can surely look into this - Getting Started - MOSIP Docs 1.2.0
Best Regards,
MOSIP Team
Thanks for your speedy reply.
Hello Team MOSIP,
I used to read those doc many times, but I still not able to get it running.
As it seems, there are many things(steps) I need to prepare.
That is why I ask for docker-compose version, since I just need to run only one command.
Thanks
Rathanak
Hey @sreangrathanak
We have understood the requirement and raised the concern to one of our team members they will get back to you by today EOD or max by tomorrow.
Best Regards,
Team MOSIP
1 Like
@sreangrathanak I had an internal discussion. With the need for orchestration across our services, it would be impossible to run all of them in a docker compose
.
Once you have a Kubernetes cluster up and running then we can use a simple helm install to install the necessary services. Did you get the Kubernetes up and running?
In case you want to develop a specific module then can you give us the module we can try and help?
Note: As of now anyone developing an individual module will need a sandbox setup to work. Only e-signet & IDA can work as independent local modules.
Currently, I am using minikube as I want to explore it on my local machine first. However, it seems I cannot get it working yet as I am quite new to Kubernetes. That is also reason why I ask for docker compose.
I have tried to follow one sandbox installer: Sandbox Installer - MOSIP Docs 1.1.5
However, it seems to require me to install MOSIP on virtual machine and specification seem huge.
So I just wonder change I run MOSIP using just minikube? If yes, can you share resource which can guide me about this?
Best regards,
Thanks
Rathanak
For Sandbox install it requirement to run update 13 host. But my laptop too small to run all those to match the requirement.
Can you share if there anyway for my to be able run it locally on my machine?
Thanks
@sreangrathanak There are too many services and you will never be able to set up all of them in minikube.
Currently, for our development, we have set up dev
environments in the cloud. Our developers then access the cloud services from their laptops to develop the software.
You will need to do the same if you are looking at full development.
However, if you are looking at specific modules we can try and set up things that can work. But to help you better we need to know what repo are you planning to change. If it’s in general just to understand then I would say set up a cloud machine with Kubernetes cluster then try MOSIP.
Thank for your quick reply.
May I ask few more question regard to this mater.
- Does MOSIP have sandbox server to outside to be able explore it?
- If MOSIP does not have sandbox server to outside to explore the system, can you share the budget I may need for setting up MOSIP on cloud?
Thanks
That’s a good question. We have a couple of environments called collab and synergy to support. But it does have limitations in terms of what modules you can build and what you can not.
For eg: Accessing IDA API, Integrating with e-signet, Running reg client, and integrating print are all possible from this environment.
That is awesome,
May I know if it possible for me to access to that environments? If yes, how can I access to it?
As right now I am trying to do a feasibility study on MOSIP features. So I need just be able to access some of MOSIP core features/modules as mentions in above converstion.
And if possible, could you also share more information a cloud infrastructre that you are using for development such as spec, monthly budget?
Best regards,
Thanks
Rathanak.
Hello @sreangrathanak
To start with a basic overview about MOSIP do check this out:
To get an overview about the Pre Registration module, please check the user guide and video from here:
If you wish to setup Pre Registration module locally then follow below steps:
Prerequisite:
Check if you can access the https://collab.mosip.net environment.
You can use the URL’s(for other MOSIP services like KeyManager, MasterData etc)) pointing to this environment when you setup Pre Reg locally.
Setup Steps:
All steps are given here:
Will be happy to help you out if you face any issues.
~ Mayura
2 Likes
Hi Mayura,
I will check them out.
Thanks
Rathanak SREANG
1 Like
Hi Mayura,
I have tries to follow set up pre-registration on my local machine. However, I am still struggling of replace this variable to the right values based on given resources above.
mosip.base.url=https://yourenvurl
auth-token-generator.rest.issuerUrl:https://iam.yourenvurl/auth/realms/mosip
javax.persistence.jdbc.password: XXXXXX
javax.persistence.jdbc.url=jdbc:postgresql://yourenvurl:5432/mosip_prereg
mosip.batch.token.authmanager.password: XXXXXX
mosip.iam.adapter.appid=prereg
mosip.iam.adapter.clientsecret=XXXXXX
auth.server.admin.issuer.uri=https://iam.yourenvurl/auth/realms/
Can you help share what is the correct values, can I used from collab
for variables above?
Thanks
Rathanak SREANG