You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+5-20
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,8 @@ A discord accountant bot with a Web user interface.
3
3
4
4
## Versions:
5
5
* Full version
6
-
> Harder to set up, has Web user interface.
7
-
6
+
> Harder to set up, has Web user interface.
7
+
8
8
* Lite version
9
9
> Faster, less setup time, cannot control it thru Web.
10
10
@@ -17,7 +17,7 @@ Process:
17
17
3) Find `appsettings.json` file and fill it out (see Configuration file below);
18
18
4) Launch the bot using command `dotnet Alderto.Web.dll` (`dotnet Alderto.Bot.dll` for lite version).
19
19
> Based on the configuration of the machine and `appsettings.json`, you may have to run it in administrator mode for port allocation (not applicable to lite version). adding `sudo` in front of the command on Linux would do the trick.
20
-
20
+
21
21
### Configuration file
22
22
Bot's configuration can be found at `appsettings.json` file.
23
23
Tutorial how to set up the configuration:
@@ -31,24 +31,9 @@ Tutorial how to set up the configuration:
31
31
### Https
32
32
>In order to use SSL, you must first have a certificate present on the host device. Big cloud hosting providers, such as AWS of Azure can issue a certificate, otherwise you will have to issue one yourself. [Let's encrypt](https://letsencrypt.org/) is a project that can help you achieve that.
33
33
34
-
To activate SSL in `appsettings.json` remove the two comments surrounding `Kestrel:Endpoints:Https`:
35
-
```
36
-
"Kestrel": {
37
-
"Endpoints": {
38
-
/* If you wish to use SSL, uncomment the part "Https". Requires certificate present on the device. See Kestrel help for more info. */
39
-
/* <- REMOVE!!!
40
-
"Https": {
41
-
"Url": "https://*"
42
-
},
43
-
*/ <- REMOVE!!!
44
-
"Http": {
45
-
"Url": "http://*"
46
-
}
47
-
}
48
-
}
49
-
```
34
+
To activate SSL on Kestrel server, set the environment variable `ASPNETCORE_URLS=https://*`.
50
35
## Development
51
-
Requirements: [Visual Studio 2019](https://visualstudio.microsoft.com/vs/) with [.Net Core 3.0**SDK**](https://dotnet.microsoft.com/download/dotnet-core/3.0), [Node.js version 10.9.0 or later](https://nodejs.org/en/) (for WebUI only)
36
+
Requirements: [Visual Studio 2019](https://visualstudio.microsoft.com/vs/) with [.Net Core 3.1**SDK**](https://dotnet.microsoft.com/download/dotnet-core/3.1), [Node.js version 10.9.0 or later](https://nodejs.org/en/) (for WebUI only)
0 commit comments