Skip to content

Commit

Permalink
Merge pull request #410 from szalapski/psz-2
Browse files Browse the repository at this point in the history
  • Loading branch information
csharpfritz authored Mar 14, 2024
2 parents c7f7221 + f7a6d15 commit f84520d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,10 @@ On the moderation screen, you can use the keyboard to navigate the cards on scre
- YouTube (search for videos that have a given hashtag in the description)
- Custom message delivery across Azure Queues, labeled as 'Website'


## Running a local environment for development
If you do not have the proper Postgres database running locally, you can instead use the default embedded database:
1. Remove the Postgres-related connection strings from TagzApp.Blazor\appsettings.Development.json
2. Run from the command line: `dotnet watch --project .\src\TagzApp.Blazor\`.
The site should spin up and open the First Start Configuration page.
3. Choose Sqlite and submit. After a short delay, The home page should show.
4. To get started, navigate to "System Admin" and add a hashtag to watch, then navigate to Waterfall to see the content.
1 change: 1 addition & 0 deletions src/TagzApp.Blazor/appsettings.Development.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"ConnectionStrings": {
// For a first-time run, if you intend to use the embedded Sqlite database instead of local Postgres, remove these.
"AppConfigProvider": "Postgres",
"AppConfigConnection": "Server=localhost;Port=5432;Database=postgres;User Id=tagz;Password=tagz;"
},
Expand Down

0 comments on commit f84520d

Please sign in to comment.