From 2682cca424c57691b9a3e4eee837a452ce03e522 Mon Sep 17 00:00:00 2001 From: patdyn Date: Thu, 27 Jun 2024 16:23:34 +0200 Subject: [PATCH] Update with real local dev options --- doc/dev/dev_setup.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/doc/dev/dev_setup.md b/doc/dev/dev_setup.md index dd13eed..88801d4 100644 --- a/doc/dev/dev_setup.md +++ b/doc/dev/dev_setup.md @@ -1,15 +1,26 @@ +# Dev Setup +## For local development -# For local development -``` +```bash python3 -m venv ~/.venv --upgrade source ~/.venv/bin/activate pip3 install --upgrade -r dev_requirements.txt pip3 install --upgrade -r requirements.txt ``` -# For testing a dev version -``` +## For testing a dev version + +With uploading to pypi + +```bash pyb publish upload pip3 install --upgrade ddadevops --pre ``` + +With locally installing the package + +```bash +pyb publish +pip3 install --upgrade -e /home/${USER}/repo/opensource/dda-devops-build/target/dist/ddadevops-4.12.1-dev/ +```