1

add README

This commit is contained in:
DmitriyMX 2023-05-05 14:25:43 +03:00
parent 27797f35a3
commit ae857564ad
No known key found for this signature in database
GPG Key ID: 83F1834955147B6F

44
README.MD Normal file
View File

@ -0,0 +1,44 @@
# virtualenv
## Установка и активация
1. Создать venv
```shell
virtualenv .venv
```
2. Активировать среду
```shell
source .venv/bin/activate
```
3. Установить зависимости
```shell
pip install -r requirements.txt
```
## Деактивация
```shell
deactivate
```
# Запуск
## export
1. Настроить `database.ini` в секции "export"
2. Запустить экспорт
```shell
python ./export.py shyalchemist549 | jq > exports/shyalchemist549.json
```
## import
1. Настроить `database.ini` в секции "import"
2. Запустить импорт
```shell
python ./import.py exports/shyalchemist549.json
```