MONO REPO
- Mpesa gateway
cd mpesa-gateway
mvn clean package
- Admin portal
cd admin-portal
yarn install && ng build --delete-output-path --optimization --progress --aot --build-optimizer
- Portal rest api - WIP
cd portal-api
mvn clean package
# Fastest
`cd admin-portal && yarn dockerize`
# Run Step by step
a. Springboot build: `cd mpesa-gateway && mvn clean package`
b. Node build: `cd admin-portal && yarn install && ng build --delete-output-path --optimization --progress --aot --build-optimizer`
c. Compose startup: `docker-compose build && docker-compose up --force-recreate`
# Build everything from scratch, without using cache, ouch !
docker-compose build --no-cache && docker-compose up --force-recreate
cd admin-portal && yarn install && ng build --delete-output-path --configuration=uat --optimization --progress --aot --build-optimizer docker-compose -f docker-compose-uat.yml up -d
docker-compose -f docker-compose-prod.yml build && docker-compose -f docker-compose-prod.yml up -d