agent: |
- 1XOart5ABuUEcKbPoMIQCRequirements
1
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.You will need a server with the following specs: * min 16GB RAM
* min 100GB disk
* min 2 CPUs * Ubuntu (20.04+)
You need to have the following packages on the VM. Most of the Linux distributions have it by default. If not, please install. * git * python (3.10+)
The application will be served on port 443. Therefore port 443 needs to be accessible through the firewall.
inputsoutputs1 - 2ZOart5ABuUEcKbPoMoQvSetup your Environment (dkapp setup)
2
Setup your Environment (dkapp setup)
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.2- 2.1Xeart5ABuUEcKbPoMIRICheckout this dkapp repo.
2.1
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.2.1 - 2.2Xuart5ABuUEcKbPoMISGInstall required packages (dkapp setup)
2.2
Install required packages (dkapp setup)
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputscd dkapp sudo apt update && sudo apt upgrade -y sudo apt-get install -y make make preparecopied2.2 - 2.3Y-art5ABuUEcKbPoMoQYRestart Docker
2.3
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputssudo systemctl restart dockercopied2.3
- 3D4ypSTkeyu8FEzDDPNYNSetup .env params
3
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.In your .env file set values for the last 7 params:
DAGKNOWS_URL=https://<YOUR_PUBLIC_IP_HERE>
MAIL_DEFAULT_SENDER=info@dagknows.com
MAIL_USERNAME=
MAIL_SERVER=
MAIL_PASSWORD=
OPENAI_API_KEY=
OPENAI_ORG_ID=
inputsoutputs3 - 4RI5SJihl992TpUcvCPAfEncrypt the file containing all the secrets
4
Encrypt the file containing all the secrets
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.The following command encrypts all the secrets such as passwords and API keys kept in .env file using gpg utility. It will ask you for a passphrase during encryption and decryption.
inputsoutputsmake encryptcopied4 - 5XhWG6HcAropmFAXmhRXq(Optionally) Add ubuntu user to docker group
5
(Optionally) Add ubuntu user to docker group
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputssudo usermod -aG docker ubuntu newgrp docker # To refresh group membership and not do a shell session restartcopied5 - 6Zeart5ABuUEcKbPoM4QJRun your DB
6
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputsmake updb dblogscopied6 - 7Zuart5ABuUEcKbPoM4Q2Run you App
7
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputsmake up logscopied7 - 8tH8x2xkpOcuq2tBVX4PrIntegration with community.dagknows.com
8
Integration with community.dagknows.com
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.You can now integrate your DagKnows instance with the https://community.dagknows.com. With this integration, you can download the runbooks available on https://community.dagknows.com. You simply need to search in your own instance for the runbooks and the search results will include all the community runbooks as well that have a special icon next to them called "community".
To do this integration, follow the steps:
- Request a token from DagKnows for this integration.
- Then in your local instance of DagKnows, click "Integrations" icon in the left navbar.
- Click on "Other Tools" tab. You will notice an integration card for "DagKnows Community"
- Click on the toggle button to enable integration and edit settings. A pop-up will appear.
- Provide the URL: https://community.dagknows.com
- Provide the token you got from DagKnows
- Turn on "Enable Download" button so you can download runbooks locally.
- In case you want to upload your own runbooks to community and contribute then turn on "Enable Upload" button
- If you want to use DagKnows AI for generating runbooks, instead of your own AI engine, turn on "Use GenAI". Note that the runbook you created with this option will be first created on community and then downloaded locally. If you care about privacy, turn this option off.
- Save options
- Reload this page and ensure that all your settings are still there for this integration and integration is turned on.
inputsoutputs8 - 9tB8kcoWo2WgCXFsqruzDDownload a special runbook from community.
9
Download a special runbook from community.
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.Search for "Adding, Deleting, Listing DagKnows Proxy credentials or key-value pairs" in your local instance. A community runbook will show up in in the results. Click on the download icon next to it and fetch it locally. You will need this one to add key/value pairs or credentials in your vault.
inputsoutputs9