From 4ef214c7f5a0f52766703c6d53457e5a9f97e504 Mon Sep 17 00:00:00 2001 From: Jeff Leung Date: Tue, 4 Jan 2022 14:17:31 -0800 Subject: [PATCH] Update readme --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8975037..6a283f7 100644 --- a/README.md +++ b/README.md @@ -57,4 +57,13 @@ A generic Linux Intel 64-bit machine is being used for this example. 2. Clone the repository 3. Navigate to the TwilioSMSReceiver directory 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 \ No newline at end of file +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 \ No newline at end of file