You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by Natasha Natarajan <na...@gmail.com> on 2020/06/29 20:18:27 UTC

Working with both the Fineract & Community App development environments

Hi,


Can someone advise if they have recently worked and ran both development
environments simultaneously on their local machine?


If so, can you advise on the best way to achieve this?


Best Regards,

Natasha

Re: Working with both the Fineract & Community App development environments

Posted by Luis Alberto Alegría de los Santos <lu...@innovar.app>.
Hi Natasha

In this link
<https://drive.google.com/file/d/1ZrtoYVKY1skKoIQA-XNASjyzCAPOUJfF/view>there
is a guide to install fineract and community-app on windows, development
branch from github. I hope this will be helpful to you. Put special
attention on building community-app with the command "npm install", use
"yarn" instead.

Some tips on development environment for fineract(note: I used this on a
1.2 version for testing purposes, but I think it could be helpful to you):

   - I used IntelliJ IDE and It help me a lot in debugging tasks.
      - First, create a GRADLE type project
      - Link the "fineract-provider" folder (this folder is downloaded from
      github, see the guide)
      - Create a special "Run configuration" on intellij like image (Menu
      Run -> Edit configurations):
         - [image: image.png]
         - With this special configuration, you can run "tomcatRunWar"
         gradle option with this parameters "-Xdebug
         -Xrunjdwp:transport=dt_socket,address=8005,server=y,suspend=n",
and run
         from IDE
         - This options let you debug the code
         - For debugging:
         - Create a special "Run/debug configuration" on intellij like
         image (Menu Run -> Edit configurations):
            - See this configuration is "Remote" type, when you add new
            configuration choose "Remote"
            - [image: image.png]
            - The parameter are
            "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8005"
         - Finally:
      - You can run gradle configuration first from IntelliJ IDE
         - On IDE, you can choose Gradle run configuration and click on
         play button
         [image: image.png]
         - Wait until "fineract" is fully loaded before running the debug
         option, you see a message like image.
            - [image: image.png]
            - Run debug configuration, when fineract is loaded
         - On IDE, you can choose remote configuration and click on play
         button
         [image: image.png]
         - When is fully load, you can use breakpoints and options to
         debugging

I hope this helps you.

Best regards

El mar., 30 jun. 2020 a las 11:20, Kumaranath Fernando (<
kumaranathfernando@gmail.com>) escribió:

> Hello Natasha!
>
> 1. Make sure both projects are up and running. readme pages of both
> projects should help you do
> 2. Open up a incognito browser and go to
> https://localhost:8443/fineract-provider/api/v1&tenantIdentifier=default.
> 3. Click Proceed on the security warning.
> 4. Go to the opened tab initiated by community and replace the baseApiURL
> with https://localhost:8443/fineract-provider/api/v1&tenantIdentifier=
> <tenantId>
> ex:
> http://localhost:9002/?baseApiUrl=https://localhost:8443/fineract-provider/api/v1&tenantIdentifier=default
> <http://localhost:9002/?baseApiUrl=https://localhost:8443/fineract-provider/api/v1&tenantIdentifier=default#/bulkimport>
> .
> 5. Sign in using the default password. user: mifos, pw: password
>
> Regards,
> Kumaranath Fernando
>
> On Tue, Jun 30, 2020 at 10:49 PM Natasha Natarajan <
> natashanatarajan@gmail.com> wrote:
>
>> To clarify, I will be making changes in both development environments and
>> I would like to test the changes simultaneously to make sure that both the
>> front end and back end changes work together properly. In order to do this,
>> I will need to test both at the same time on my local machine.
>>
>> Is there documentation on how to do this?
>>
>> On Mon, Jun 29, 2020 at 2:18 PM Natasha Natarajan <
>> natashanatarajan@gmail.com> wrote:
>>
>>> Hi,
>>>
>>>
>>> Can someone advise if they have recently worked and ran both development
>>> environments simultaneously on their local machine?
>>>
>>>
>>> If so, can you advise on the best way to achieve this?
>>>
>>>
>>> Best Regards,
>>>
>>> Natasha
>>>
>>

-- 
LSC. Luis Alegría
INNOVARAPP

*La información contenida en este correo electrónico y anexos es
confidencial. Ésta dirigida únicamente para el uso del individuo o entidad
a la que fue dirigida y puede contener información propietaria que no es
del dominio público. Si has recibido este correo por error o no eres el
destinatario, por favor notificar al remitente de inmediato y borra este
mensaje de la computadora o dispositivo. Cualquier uso, distribución o
reproducción de este correo que no sea por el destinatario de intención
queda prohibido.*

Re: Working with both the Fineract & Community App development environments

Posted by Kumaranath Fernando <ku...@gmail.com>.
Hello Natasha!

1. Make sure both projects are up and running. readme pages of both
projects should help you do
2. Open up a incognito browser and go to
https://localhost:8443/fineract-provider/api/v1&tenantIdentifier=default.
3. Click Proceed on the security warning.
4. Go to the opened tab initiated by community and replace the baseApiURL
with https://localhost:8443/fineract-provider/api/v1&tenantIdentifier=
<tenantId>
ex:
http://localhost:9002/?baseApiUrl=https://localhost:8443/fineract-provider/api/v1&tenantIdentifier=default
<http://localhost:9002/?baseApiUrl=https://localhost:8443/fineract-provider/api/v1&tenantIdentifier=default#/bulkimport>
.
5. Sign in using the default password. user: mifos, pw: password

Regards,
Kumaranath Fernando

On Tue, Jun 30, 2020 at 10:49 PM Natasha Natarajan <
natashanatarajan@gmail.com> wrote:

> To clarify, I will be making changes in both development environments and
> I would like to test the changes simultaneously to make sure that both the
> front end and back end changes work together properly. In order to do this,
> I will need to test both at the same time on my local machine.
>
> Is there documentation on how to do this?
>
> On Mon, Jun 29, 2020 at 2:18 PM Natasha Natarajan <
> natashanatarajan@gmail.com> wrote:
>
>> Hi,
>>
>>
>> Can someone advise if they have recently worked and ran both development
>> environments simultaneously on their local machine?
>>
>>
>> If so, can you advise on the best way to achieve this?
>>
>>
>> Best Regards,
>>
>> Natasha
>>
>

Re: Working with both the Fineract & Community App development environments

Posted by Natasha Natarajan <na...@gmail.com>.
It makes sense to test the entire application, viewing the UI, thoroughly
before making a PR request.

On Tue, Jun 30, 2020 at 9:48 AM Natasha Natarajan <
natashanatarajan@gmail.com> wrote:

> To clarify, I will be making changes in both development environments and
> I would like to test the changes simultaneously to make sure that both the
> front end and back end changes work together properly. In order to do this,
> I will need to test both at the same time on my local machine.
>
> Is there documentation on how to do this?
>
> On Mon, Jun 29, 2020 at 2:18 PM Natasha Natarajan <
> natashanatarajan@gmail.com> wrote:
>
>> Hi,
>>
>>
>> Can someone advise if they have recently worked and ran both development
>> environments simultaneously on their local machine?
>>
>>
>> If so, can you advise on the best way to achieve this?
>>
>>
>> Best Regards,
>>
>> Natasha
>>
>

Re: Working with both the Fineract & Community App development environments

Posted by Natasha Natarajan <na...@gmail.com>.
To clarify, I will be making changes in both development environments and I
would like to test the changes simultaneously to make sure that both the
front end and back end changes work together properly. In order to do this,
I will need to test both at the same time on my local machine.

Is there documentation on how to do this?

On Mon, Jun 29, 2020 at 2:18 PM Natasha Natarajan <
natashanatarajan@gmail.com> wrote:

> Hi,
>
>
> Can someone advise if they have recently worked and ran both development
> environments simultaneously on their local machine?
>
>
> If so, can you advise on the best way to achieve this?
>
>
> Best Regards,
>
> Natasha
>

Re: Working with both the Fineract & Community App development environments

Posted by Victor Romero <vi...@fintecheando.mx>.
As usual you can run them in your local machine on bare bones, VM or
Containers.

  

Regards

  

Victor

> El 29 de junio de 2020 a las 03:18 PM Natasha Natarajan
<na...@gmail.com> escribió:  
>  
>

>

> Hi,

>

>  
>

>

> Can someone advise if they have recently worked and ran both development
environments simultaneously on their local machine?

>

>  
>

>

> If so, can you advise on the best way to achieve this?

>

>  
>

>

> Best Regards,

>

> Natasha