Install dependencies for target app
cd target_app
npm install
npm install @ctrlb/heimdall
pip install -r requirements.txt
Create the .env which should look something like
DB_USERNAME=...
DB_PASSWORD=...
DB_CLUSTER=...
DB_NAME=...
START_PORT=...
END_PORT=...
KILL_CHILD_PROCESS_IN_SECONDS=...
SLEEP_WATCHER_FOR_SECONDS=...
ENV=PROD
TARGET_APP_BASE_ADDRESS="https://playground.ctrlb.ai/app"
If you're setting this up in prod, use the nginx.conf
present here.
python master.py