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