Skip to content

Commit aea69f6

Browse files
committed
Smaller update to readme
1 parent f56f436 commit aea69f6

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

Readme.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -146,15 +146,14 @@ For disqus you only need the short name (site-name) which you can find for examp
146146
There is only one real mechanism enabled via Auth0. For more information go to: https://auth0.com/docs/applications
147147

148148
The main advantage of Auth0 is the easily configurable dashboard on their website.
149-
150-
For testing purposes you can use `services.UseDummyAuthentication();`. This allows every user, who presses Login, to be logged in.
149+
For testing purposes, you can use `services.UseDummyAuthentication();`. This allows every user, who presses Login, to be logged in.
151150

152151
## Donations
153152
The blog software allows you to integrate via different micro-transaction services. The following chapter will show you how to set up donations.
154153

155154
### Ko-fi
156155
You can use [Ko-fi](https://Ko-fi.com/) as a payment service to receive donations. To acquire the `KofiToken` as seen in the config above, head to [widgets page](https://Ko-fi.com/manage/widgets), click on "Ko-fi Button".
157-
Now choose "Image" as type. In the field below under `Copy & Paste Code` you see an `<a href='https://ko-fi.com/XYZ'` tag. Just take the `XYZ` part and put it into `KofiToken`.
156+
Now choose "Image" as the type. In the field below under `Copy & Paste Code` you see an `<a href='https://ko-fi.com/XYZ'` tag. Just take the `XYZ` part and put it into `KofiToken`.
158157

159158
### GitHub Sponsor
160159
Enables the usage of [GitHub Sponsors](https://github.com/sponsors) as a payment service to receive donations. Only pass in your username. The button will use the following url: `https://github.com/sponsors/{your-user-name}`.
@@ -195,15 +194,13 @@ To deploy with docker, you need to modify the variables in the docker-compose.ym
195194
```yml
196195
volumes:
197196
- /root/.aspnet/DataProtection-Keys:/root/.aspnet/DataProtection-Keys
198-
- ./Blog.db:/app/Blog.db #SQlite datebase consistent with appsettings.json
199-
- /root/aspnetapp.pfx:/app/aspnetapp.pfx #ssl certificate
197+
- ./Blog.db:/app/Blog.db # Sqlite datebase consistent with appsettings.json
198+
- /root/aspnetapp.pfx:/app/aspnetapp.pfx # ssl certificate
200199
environment:
201200
- ASPNETCORE_URLS=http://+:80;https://+:443
202201
- ASPNETCORE_HTTPS_PORT=80
203-
- ASPNETCORE_Kestrel__Certificates__Default__Password= #your certificate password
202+
- ASPNETCORE_Kestrel__Certificates__Default__Password= # Your certificate password
204203
- ASPNETCORE_Kestrel__Certificates__Default__Path=/app/aspnetapp.pfx
205204
- ASPNETCORE_ENVIRONMENT=Production
206205
```
207-
After modifying the settings, you can use the docker command`docker compose up -d`
208-
Deploy the web.
209-
If you don't use HTTPS, you can remove the related options.
206+
After modifying the settings, you can use the docker command `docker compose up -d`.

docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ services:
44
build: ./
55
container_name: dotnetBlog
66
ports:
7-
- 80:80 #You can modify the port you want
7+
- 80:80
88
- 443:443
99
volumes:
1010
- /root/.aspnet/DataProtection-Keys:/root/.aspnet/DataProtection-Keys
11-
- ./Blog.db:/app/Blog.db #SQlite datebase
12-
- /root/aspnetapp.pfx:/app/aspnetapp.pfx #ssl certificate
11+
- ./Blog.db:/app/Blog.db # Sqlite datebase
12+
- /root/aspnetapp.pfx:/app/aspnetapp.pfx # ssl certificate
1313
environment:
1414
- ASPNETCORE_URLS=http://+:80;https://+:443
1515
- ASPNETCORE_HTTPS_PORT=80
16-
- ASPNETCORE_Kestrel__Certificates__Default__Password= #your certificate password
16+
- ASPNETCORE_Kestrel__Certificates__Default__Password= # Your certificate password
1717
- ASPNETCORE_Kestrel__Certificates__Default__Path=/app/aspnetapp.pfx
1818
- ASPNETCORE_ENVIRONMENT=Production

0 commit comments

Comments
 (0)