- Python package MinIO.
- Python Client API Reference.
Required: Python 3
Install python virtual environment package
pip3 install virtualenv
Initialize virtual environment
Linux:
python -m venv .venv
Windows:
py -m venv .venv
Activate virtual environment
Linux:
source .venv/bin/activate
Windows:
# Git Bash
source .venv/Scripts/activate
# PowerShell
.venv\Scripts\activate
Install dependencies
pip3 install -r requirements.txt
Create configuration file from sample:
cp config/config.yml.sample config/config.yml
Edit configuration file by setting s3 credentials:
s3:
address: s3.example.com
use_ssl: True
bucket: my_bucket_name
accessKey: my_access_key
secretKey: my_secret_key
python main.py
Log files are stored in logs
directory if logging.output: file
.
Log file name example:
./logs/YYY-MM-DD.log