Store entry html content outside DB in file storage

Since the HTML content can get quite big and can have embeded images.
This commit is contained in:
2023-07-05 23:45:49 -04:00
parent 7289151318
commit 3f028c3088
10 changed files with 81 additions and 37 deletions

View File

@@ -55,6 +55,7 @@ builds
DATABASE_MAX_CONNECTIONS=5
TITLE=crawlnicle
MAX_MEM_LOG_SIZE=1000000
CONTENT_DIR=./content
```
1. Run `just migrate` (or `sqlx migrate run`) which will run all the database