You should have successfully built the Fineract CN microservice. Ensure the artifacts are located in $USER_HOME/.m2/repository/org/apache/fineract/cn/
- Docker
- Docker-compose or Kubernetes (Preferably Google Container Engine)
Run migration_script.sh
bash migration_script.sh
- Using Docker-compose
- Run the start-up.sh script to start the microservices
(N.B: Make sure your local database instances are down)
bash start-up.sh
- Run the shut-down.sh script to shut-down the microservices
bash shut-down.sh
- Using Kubernetes
- Change directory into the kubernetes-script directory
cd kubernetes-scripts
- Run the external tools first, i.e Activemq, Eureka, Cassandra, Maria DB
kubectl apply -f <tool file name>
- Now run all the fineract microservices
kubectl apply -f <service file name>
-
Run the provision.sh script to provision the system.
bash scripts/provision.sh config.text
N.B: You can update the configuration of the difference services in the config.txt file