Update 'README.md'

This commit is contained in:
jleung 2022-01-06 01:02:18 +00:00
parent 665bb94aa2
commit 4c07a777c3
1 changed files with 5 additions and 1 deletions

View File

@ -82,6 +82,8 @@ INSERT INTO MSTeamsWebHooks (WebHookUri) VALUES ("msteamswebhookurlhere");
``` ```
3. Copy the ``smsdatabase.sqlite`` database file to the root of the directory where the app will run from 3. Copy the ``smsdatabase.sqlite`` database file to the root of the directory where the app will run from
4. Start the TwilioSMSReceiver app up 4. Start the TwilioSMSReceiver app up
- On Linux this will be ``./TwilioSMSReceiver``
- On Windows, this will simply mean executing the TwilioSMSReceiver.exe executable
The app can be daemonized on Linux as a systemd unit file if you wish to, an example is here: The app can be daemonized on Linux as a systemd unit file if you wish to, an example is here:
```INI ```INI
@ -97,10 +99,12 @@ SyslogIdentifier=SMSReceiver
User=dotnet User=dotnet
Environment=ASPNETCORE_ENVIRONMENT=Production Environment=ASPNETCORE_ENVIRONMENT=Production
Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false
Environment=ASPNETCORE_URLS="http://[::]:9999" Environment=ASPNETCORE_URLS="http://localhost:9999"
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
``` ```
This will run the Web App listening on localhost port 9999 with the HTTP protocol. In addition, this will place it in Production mode and will disable certain API endpoints listed above.
Windows service support will come in a later release Windows service support will come in a later release