(WIP)
git clone https://github.com/RekiDunois/Norma.git
cd Norma
Add config file named appsettings.json
with content like this:
{
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information"
}
},
"BotConfiguration": {
"BotToken": "xxxxxx:xxxxxx",
"HostAddress": "https://localhost",
"UserIds": [
"1234567890"
]
},
"ProgramConfiguration": {
"AssemblyNames": [
"Norma"
]
}
}
About getting the BotToken
and UserIds
content, you can follow the telegram docs in here
And then, run the docker build and run command, just like that.
docker build -t norma:version .
docker run -d norma:version