dda-devops-build/doc/dev/dev_setup.md

27 lines
499 B
Markdown
Raw Permalink Normal View History

2024-06-27 14:23:34 +00:00
# Dev Setup
2023-03-17 15:04:47 +00:00
2024-06-27 14:23:34 +00:00
## For local development
2023-03-17 15:04:47 +00:00
2024-06-27 14:23:34 +00:00
```bash
2022-03-25 17:17:52 +00:00
python3 -m venv ~/.venv --upgrade
source ~/.venv/bin/activate
2023-03-17 15:04:47 +00:00
pip3 install --upgrade -r dev_requirements.txt
pip3 install --upgrade -r requirements.txt
```
2024-06-27 14:23:34 +00:00
## For testing a dev version
With uploading to pypi
```bash
2023-03-17 15:04:47 +00:00
pyb publish upload
2022-03-25 17:17:52 +00:00
pip3 install --upgrade ddadevops --pre
2023-06-02 15:11:40 +00:00
```
2024-06-27 14:23:34 +00:00
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/
```