diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..957593c --- /dev/null +++ b/.env.example @@ -0,0 +1 @@ +HETZNER_API_TOKEN= \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e3ad5cd --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +## Getting started + +0. Install Python. +1. Create virtual environment: `python3 -m venv .venv`. +2. To activate the virtual environment, enter: `source .venv/bin/activate`. +3. Install a list of requirements specified in [requirements.txt](./requirements.txt): + `python -m pip install -r requirements.txt`. +4. Create a .env file `cp .env.example .env` and provide values of envirnoment variables. +5. Run the script: `python main.py`. + +> When you're finished with your virtual environment, enter the following command to deactivate it: `deactivate`. diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..8ee5d55 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +python-dotenv +hcloud \ No newline at end of file