- Clone this repo or download content of
.hostingdirectory - Setup your Telegram Bot with BotFather and get the bot API token
- Make changes to
.hosting/.envfile by adding the token you received - Open
.hostingdirectory in the your terminal and run
docker compose -f docker-compose.yaml -f docker-compose.postgres.yaml up- SENTRY_DSN="YOUR_SENTRY_DSN" # send errors to Sentry
- ConnectionStrings__Postgres="" # use external postgres connection
- Dotnet SDK https://dotnet.microsoft.com/en-us/download
- Docker https://docs.docker.com/engine/install/
- Setup your Telegram Bot with BotFather and get the bot API token
- Set User secrets in project DomainManager like this:
{
"Bot": {
"Token": "BOT_API_TOKEN_HERE"
}
}- Open
srcdirectory in the your terminal and run
# build project
make build
# build and start postgre and application locally
make run
# stop local postgre instance
make stop - Or if you do not have
makecommand
# build project
dotnet build
# build and start postgre and application locally
docker compose -f "../.hosting/docker-compose.postgres.local.yaml" up -d
dotnet run --project DomainManager
# stop local postgre instance
docker compose -f "../.hosting/docker-compose.postgres.local.yaml" down