|
|
@ -85,14 +85,14 @@ docs: ## build the documentation using mkdocs |
|
|
|
serve-docs: docs ## build the documentation and serve them in a web server
|
|
|
|
serve-docs: docs ## build the documentation and serve them in a web server
|
|
|
|
mkdocs serve |
|
|
|
mkdocs serve |
|
|
|
|
|
|
|
|
|
|
|
install: ## install updated project.toml with flint
|
|
|
|
install: ## install updated project.toml
|
|
|
|
flit install --pth-file |
|
|
|
.venv/bin/pip3 install -e ".[docs,dev,test]" |
|
|
|
|
|
|
|
|
|
|
|
prepareenv: ## setup virtual environment and install packages
|
|
|
|
prepareenv: ## setup virtual environment and install packages
|
|
|
|
|
|
|
|
rm -fr .venv/ |
|
|
|
python3 -m venv --prompt sensospot .venv |
|
|
|
python3 -m venv --prompt sensospot .venv |
|
|
|
.venv/bin/pip3 install --upgrade pip |
|
|
|
.venv/bin/pip3 install --upgrade pip wheel |
|
|
|
.venv/bin/pip3 install "flit>3.2" |
|
|
|
.venv/bin/pip3 install -e ".[docs,dev,test]" |
|
|
|
.venv/bin/flit install --pth-file |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
devenv: prepareenv ## setup development environment including precommit hooks
|
|
|
|
devenv: prepareenv ## setup development environment including precommit hooks
|
|
|
|
.venv/bin/pre-commit install --install-hooks |
|
|
|
.venv/bin/pre-commit install --install-hooks |
|
|
@ -104,5 +104,4 @@ repo: prepareenv ## complete project setup with development environment and git |
|
|
|
git branch -m main |
|
|
|
git branch -m main |
|
|
|
git remote add origin https://git.cpi.imtek.uni-freiburg.de/holgi/sensospot_parser.git |
|
|
|
git remote add origin https://git.cpi.imtek.uni-freiburg.de/holgi/sensospot_parser.git |
|
|
|
git push -u origin main --no-verify |
|
|
|
git push -u origin main --no-verify |
|
|
|
|
|
|
|
|
|
|
|
.venv/bin/pre-commit install --install-hooks |
|
|
|
.venv/bin/pre-commit install --install-hooks |
|
|
|