Skip to content

Latest commit

 

History

History
89 lines (59 loc) · 1.12 KB

README.md

File metadata and controls

89 lines (59 loc) · 1.12 KB

S3 Browser

Setup

Required: Python 3

Virtual environment

Install python virtual environment package

pip3 install virtualenv

Initialize virtual environment

Linux:

python -m venv .venv

Windows:

py -m venv .venv

Script setup

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

Usage

python main.py

Log files are stored in logs directory if logging.output: file.

Log file name example:

./logs/YYY-MM-DD.log