From 9f55a8ced7f468429a999f134aebac2abd3fcf57 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Fri, 24 Jun 2022 20:38:37 +0530 Subject: [PATCH] feat: docs: hostea infrastructure config parameters --- dashboard/settings.py | 3 +++ docs/INSTALL.md | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/dashboard/settings.py b/dashboard/settings.py index 75664d8..9df86bd 100644 --- a/dashboard/settings.py +++ b/dashboard/settings.py @@ -180,8 +180,11 @@ HOSTEA = { }, "INFRA": { "HOSTEA_REPO": { + # where to clone the repository "PATH": "/srv/hostea/dashboard/infrastructure", + # Git remote URI of the repository "REMOTE": "git@localhost:Hostea/enough.git", + # SSH key that can push to the Git repository remote mentioned above "SSH_KEY": "/srv/hostea/deploy", } }, diff --git a/docs/INSTALL.md b/docs/INSTALL.md index c58b301..044929e 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -72,3 +72,24 @@ PAYMENT_VARIANTS = { ) } ``` + +## Infrastructure(via [Enough](https://enough.community)) + +```python +HOSTEA = { +# <------snip--------> + "INFRA": { + "HOSTEA_REPO": { + # where to clone the repository + "PATH": "/srv/hostea/dashboard/infrastructure", + # Git remote URI of the repository + "REMOTE": "git@localhost:Hostea/enough.git", + # SSH key that can push to the Git repository remote mentioned above + "SSH_KEY": "/srv/hostea/deploy", + } + }, +``` + +### References: + +https://enough-community.readthedocs.io/en/latest/services/hostea.html