- Virtual environment
python3 -m venv venvsource venv/bin/activatepip install -r requirements.txt- If new packages are added,
pip freeze > requirements.txt
- Postgres Up and Running
- If docker-compose.yaml is to be used,
docker-compose uppsql -h localhost -p 5432 -d mydb -U myuser
- If Dockerfile is to be used,
docker pull postgresdocker build -t my_postgres_image .docker run --name postgres-container -e POSTGRES_PASSWORD=mypassword -d -p 5432:5432 postgrespsql -h localhost -p 5432 -U postgres -d postgresdocker execute -it db-image psql -U postgres
- If docker-compose.yaml is to be used,
- Run
- To run the main automation,
python3 main.py
- To update the maintenance_mode,
python3 maintanenace_update.py
- To run the main automation,
ranjitm2001/self-healing
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|