- Create a
Python 3.8
virtual environment. - Activate it.
- Install the dependencies.
python3.8 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Start the database:
docker-compose up -d && ./scripts/initialize.sh
Start the application:
python main.py
.
├── main.py # Application
├── utils.py # Functions
├── tests # Test files
│ └── stress_tests.py # Stress tests
├── scripts # Test files
│ ├── initialize.sh # Wait for the cluster to load
│ │ and start DB initialization
│ └── init-db.cql # Build the initial DB
├── docker-compose.yml # Docker-compose cluster
├── requirements.txt # Dependencies
└── README.md
To remove the database:
docker-compose down --volumes