agent: |
DagKnows app setup instructions for docker
The DagKnows app. This repo contains a minimal set of compose files for running a DagKnows app anywhere.
- 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. In not, please install. * git * python (3.10+)
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.inputsoutputs2- 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.inputsoutputsgit clone https://github.com/dagknows/dkapp.gitcopied2.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=<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 - 5Zeart5ABuUEcKbPoM4QJRun your DB
5
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputsmake updb dblogscopied5 - 6Zuart5ABuUEcKbPoM4Q2Run you App
6
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputsmake up logscopied6