From 54c778b1f77dd9a939081b82ab7fb7cdc7245710 Mon Sep 17 00:00:00 2001 From: yova Date: Mon, 15 Aug 2022 18:27:08 +0000 Subject: [PATCH] add requirements --- readme.md | 16 ++++++++++++++++ requirements.txt | 3 +++ 2 files changed, 19 insertions(+) create mode 100644 requirements.txt diff --git a/readme.md b/readme.md index bc4969d..1d9b70c 100644 --- a/readme.md +++ b/readme.md @@ -4,6 +4,22 @@ Simple dyndns for OVH API. Updates a A record to current IP. + +## requirements ubuntu + +``` +$ apt install python3-pip python-is-python3 +$ pip install -r requirements.txt +``` + + + +`cp env-example .env` + +and edit `.env` with credentials from https://www.ovh.com/auth/api/createToken + + + `dyndns-update zone subdomain` diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..ec2f61b --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +requests +ovh +python-dotenv