Skip to content

Commit

Permalink
Update setup.md
Browse files Browse the repository at this point in the history
  • Loading branch information
atas committed Oct 14, 2024
1 parent eb86a6a commit 082fd8c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
5 changes: 0 additions & 5 deletions SwipetorAppTest/SwipetorAppTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,4 @@
<ProjectReference Include="..\SwipetorApp\SwipetorApp.csproj"/>
</ItemGroup>

<ItemGroup>
<Folder Include="Libs\"/>
<Folder Include="Models\"/>
</ItemGroup>

</Project>
13 changes: 12 additions & 1 deletion docs/setup.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@

### Components

- .NET 8
- PostgreSQL (main db)
- InfluxDB (metrics)
- Nignx (for local proxying to swipetor-ui and swipetor-server)
- ffmpeg & MP4Box CLIs (for video processing)
- - Search for their installation on your platform.

### Cloud Services

Expand Down Expand Up @@ -81,5 +84,13 @@ server {
- Ensure the project compiles as a .net project
- Update database with `dotnet ef database update`

### CloudFlare R2 Setup

R2 needs CloudFlare workers to serve requests.
See `r2-worker` directory. Update `wrangler.toml` and run `make deploy`. You will need to do `npm install` first.
Also, your worker hostname should match in the `appsettings` config json.

### Run
Run the project like a normal .net project.
- Ensure all packages are downloaded with `nuget restore`
- `SwipetorAppTest` test project should run fine, try running in the IDE.
- Run the project like a normal .net project.

0 comments on commit 082fd8c

Please sign in to comment.