diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | README.md | 9 | ||||
-rw-r--r-- | requirements.txt | 3 |
3 files changed, 13 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ceb386 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +venv @@ -1,2 +1,11 @@ # infra Infrastructure for Python Discord + +# Local dev setup +1. Create a virtual environment `python -m venv venv` +1. Activate the virtual environment + - Windows `.\venv\Scripts\activate` + - Linux `source venv/bin/activate` +1. Update pip and builder deps `python -m pip install --upgrade pip wheel setuptools` +1. Install project dependancies `python -m pip install -r requirements.txt` +1. Install the pre-commit hook `pre-commit install` diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..4112fa7 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +ansible +ansible-lint[yamllint] +pre-commit |