Development - Zuricos/dotnet-kraken-dca-bot GitHub Wiki
Development
If you like to run the test or make further development and running the bot local i.e. with
dotnet run
or
dotnet test
Environment variables
Secrets
Make a copy of the secrets-template.json in the project folders you like to run. Rename it to secrets.json and fill up your secrets. Note: secrets.json is ignored in git and docker. And then run the following command in the shell of the current dotnet project directory:
cat ./secrets.json | dotnet user-secrets set
Further information about develoment with secrets can be found here: https://learn.microsoft.com/en-us/aspnet/core/security/app-secrets?view=aspnetcore-9.0&tabs=linux
Others
Create an .env file in the 'src' folder and add the configurations like in the configuration page.