Update readme

This commit is contained in:
Jeff Leung 2022-01-04 14:17:31 -08:00
parent 2442fb90bf
commit 4ef214c7f5
1 changed files with 10 additions and 1 deletions

View File

@ -58,3 +58,12 @@ A generic Linux Intel 64-bit machine is being used for this example.
3. Navigate to the TwilioSMSReceiver directory 3. Navigate to the TwilioSMSReceiver directory
4. Run ``dotnet publish -r linux-x64 --self-contained`` 4. Run ``dotnet publish -r linux-x64 --self-contained``
5. On the output directory, copy all of the files to the target machine and deploy accordingly 5. On the output directory, copy all of the files to the target machine and deploy accordingly
## Installing
1. Ensure you have the .NET Entity Framework Core Tools installed on your development machine
2. Run the following command at the root of the source tree ``dotnet ef database update --project TwilioSMSReceiver.Data -s TwilioSMSReceiver``
3. Use a [SQLite DB Editor](https://sqlitebrowser.org/) and insert any Microsoft Teams WebHook links to the MSTeamsWebHooks table. An example would be:
```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