kopia lustrzana https://github.com/Stopka/fedicrawl
Fixed README.md
rodzic
b5df2b986a
commit
8330ed53c4
10
README.md
10
README.md
|
@ -22,13 +22,13 @@ Data providers for more apps will be probably added soon (Pull requests are welc
|
|||
|
||||
Configuration is done using environmental variables:
|
||||
|
||||
| Variable | Description | Value example |
|
||||
|-----------|-------------------------------------------------------------|---------------|
|
||||
| `POSTGRES_URL` | Postgres database uri |`postgresql://fedisearch:passwd@postgres:5432/fedisearch?schema=public`
|
||||
| `SEED_NODE_DOMAIN` | Domain of the first node to search users and other nodes on | `mastodon.social`
|
||||
| Variable | Description | Value example |
|
||||
|--------------------|-------------------------------------------------------------|-------------------------------------------------------------------------|
|
||||
| `POSTGRES_URL` | Postgres database uri | `postgresql://fedisearch:passwd@postgres:5432/fedisearch?schema=public` |
|
||||
| `SEED_NODE_DOMAIN` | Domain of the first node to search users and other nodes on | `mastodon.social` |
|
||||
|
||||
## Deploy
|
||||
App is designed to be run in docker container and deployed using docker-compose.
|
||||
More info can be found in [FediSearch example docker-compose](https://github.com/Stopka/fedisearch-compose) project
|
||||
|
||||
For searching in collected feeds there is a companion server app [FediSearch](https://github.com/Stopka/fedisearch-compose)
|
||||
For searching in collected feeds there is a companion server app [FediSearch](https://github.com/Stopka/fedisearch)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
-- CreateEnum
|
||||
CREATE TYPE "FeedType" AS ENUM ('account', 'channel');
|
||||
CREATE TYPE "FeedTypeBadge" AS ENUM ('account', 'channel');
|
||||
|
||||
-- CreateTable
|
||||
CREATE TABLE "Tag" (
|
||||
|
@ -54,7 +54,7 @@ CREATE TABLE "Feed" (
|
|||
"locked" BOOLEAN NOT NULL,
|
||||
"lastStatusAt" TIMESTAMP(3),
|
||||
"createdAt" TIMESTAMP(3) NOT NULL,
|
||||
"type" "FeedType" NOT NULL DEFAULT E'account',
|
||||
"type" "FeedTypeBadge" NOT NULL DEFAULT E'account',
|
||||
"parentFeedName" TEXT,
|
||||
"parentFeedDomain" TEXT,
|
||||
"fulltext" TEXT NOT NULL DEFAULT E'',
|
||||
|
|
|
@ -43,7 +43,7 @@ model Field {
|
|||
@@index([value])
|
||||
}
|
||||
|
||||
enum FeedType{
|
||||
enum FeedTypeBadge{
|
||||
account
|
||||
channel
|
||||
}
|
||||
|
@ -69,7 +69,7 @@ model Feed {
|
|||
locked Boolean
|
||||
lastStatusAt DateTime?
|
||||
createdAt DateTime
|
||||
type FeedType @default(account)
|
||||
type FeedTypeBadge @default(account)
|
||||
parentFeedName String?
|
||||
parentFeedDomain String?
|
||||
fulltext String @default("")
|
||||
|
|
Ładowanie…
Reference in New Issue