31 lines
552 B
Markdown
31 lines
552 B
Markdown
# Create virtual environment
|
|
nmkvirtualenv ordigi
|
|
|
|
# Work on it (activate and cd)
|
|
workon ordigi
|
|
|
|
# Install required dependencies
|
|
pip install -r requirements.txt
|
|
|
|
# Liked it to path
|
|
pip install -e .
|
|
|
|
# View file tree of path
|
|
tree /dest/path
|
|
|
|
# Test code
|
|
pylint ordigi/* -E
|
|
pylint ordigi/**
|
|
pytest --cov=ordigi --cov-report html tests/*.py
|
|
pip install --prefix=~/.local -e .
|
|
|
|
# config
|
|
|
|
## Path format
|
|
dirs_path=<%Y>/<%m-%b>-<city>-<folder>
|
|
name=<%Y%m%d-%H%M%S>-%u<original_name>|%u<basename>.%l<ext>
|
|
|
|
|
|
## run
|
|
ordigi import 220719.bkp -f -c -R collection
|