Installation
Step-by-step guide to install and running project.
๐ง Prepare Scripts for Executionโ
Before using any of the provided shell scripts, grant execute permissions:
find . -name "*.sh" -type f -exec chmod +x {} \;
This ensures you can run the scripts directly (e.g. ./scripts/init-rundev.sh), rather than needing to prefix with bash.
๐งช Local Development Modeโ
To run SAHAJ locally (for development, testing, debugging):
-
Start all services locally:
./scripts/init-rundev.sh -
When finished: cleanly stop services โ either retaining data or cleaning volumes for a fresh start:
-
To stop services and clean data/volumes:
./scripts/stop-rundev.sh -a -
To stop services only (retain data/volumes):
./scripts/stop-rundev.sh
-
Use the -a option when you want to wipe and reset the local state (e.g. between test runs).