Hi,

... I am not sure if we have a recommendation for running Fineract (and I
know there are a lot of people using the WAR deployments), but among the
choices you have (Docker, single JAR, WAR) Docker should be the easiest.
Just go with the Docker Compose file in the root folder... saves you all
the hassle of setting up environment variables and a separate database.

Concerning the community app: we recently put it in a separate Docker
compose file (docker-compose-community-app.yml)... just start with
"docker-compose -f docker-compose-community-app.yml up".

Note: I see that you are running all this on the develop branch... please
keep in mind that things are in flux in that branch... and most importantly
(if you used Fineract before): we have new database migration mechanics in
place and replaced Flyway with Liquibase (if you start from scratch it
doesn't matter).

Hope this helps.

Cheers,

Aleks

On Mon, Mar 14, 2022 at 9:42 AM AirsayLongCon <[email protected]>
wrote:

> Thank you for your response Nasser. So part of the instruction for running
> the jar says:
>
> The tenants database connection details are configured via environment
> variables (as with Docker container), e.g. like this:
>
> export FINERACT_HIKARI_PASSWORD=verysecret
> ...
> java -jar fineract-provider.jar
>
> But there's no clear instructions for setting the environment variables or
> where to even set them. Also when running the jar where does one deploy the
> Mifos community-app Frontend?
>
> TIA
>
> Regards
>
> On Mon, 14 Mar 2022, 9:21 am Nasser Kaze, <[email protected]> wrote:
>
>> Hi AirsayLongCon,
>>
>> The error suggests a problem with connection to your database. Fineract
>> by default tries to connect to the database with the credentials: user:
>> “root” password: “mysql”.
>>
>> Unless you’ve changed this setting in the project configuration, you want
>> to make sure your database root user has thesame password.
>>
>> Regards
>> Nasser
>>
>>
>> AirsayLongCon <[email protected]> schrieb am Mo. 14. März 2022 um
>> 07:56:
>>
>>> Hello everyone,
>>> I am having some issues attempting to run the jar. When I run the
>>> following
>>>
>>> ```java -Dloader.path=. -jar
>>> fineract-provider/build/libs/fineract-provider.jar```
>>>
>>> I get the following error in the attached file.
>>>
>>> How can I fix this?
>>>
>>> Regards
>>> Airsay
>>>
>>

Reply via email to