commit | a5e833a9568d497f3c0b77e03d0038b995d65dc3 | [log] [tgz] |
---|---|---|
author | Anh3h <courageangeh@gmail.com> | Thu Sep 05 21:23:12 2019 -0400 |
committer | Anh3h <courageangeh@gmail.com> | Thu Sep 05 21:38:57 2019 -0400 |
tree | 68a86e3fadf16e5249b715f6a208ae7d7d7cb6ff | |
parent | fb8b48b92b80b69f4dddc90b19bc90538e049fee [diff] |
Add Fineract CN start-up script
This project contains Docker Compose Scripts for running Fineract CN especially in Development.
bash start-up.sh
java -cp external_tools/lang-0.1.0-BUILD-SNAPSHOT.jar org.apache.fineract.cn.lang.security.RsaKeyPairFactory UNIX > .env
This library is taken from fineract-cn-lang. If needed you can pull a fresh copy of it:
wget https://mifos.jfrog.io/mifos/libs-snapshot-local/org/apache/fineract/cn/lang/0.1.0-BUILD-SNAPSHOT/lang-0.1.0-BUILD-SNAPSHOT.jar lang-0.1.0-BUILD-SNAPSHOT.jar
cat env_variables >> .env
If you run some service from localhost then you need to change the host parameter to ‘localhost’ of that service in .env file.
cd external-tools docker-compose up
In the docker-compose.yml (that resides in project root) comment out the services you don't want to run. Running all services together consumes a lot of memory.
In project root directory run:
docker-compose up
There are some scripts in https://github.com/openMF/fineract-cn-containers that have been developed in the past for this purpose.