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:
|
Configuration is done using environmental variables:
|
||||||
|
|
||||||
| Variable | Description | Value example |
|
| Variable | Description | Value example |
|
||||||
|-----------|-------------------------------------------------------------|---------------|
|
|--------------------|-------------------------------------------------------------|-------------------------------------------------------------------------|
|
||||||
| `POSTGRES_URL` | Postgres database uri |`postgresql://fedisearch:passwd@postgres:5432/fedisearch?schema=public`
|
| `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`
|
| `SEED_NODE_DOMAIN` | Domain of the first node to search users and other nodes on | `mastodon.social` |
|
||||||
|
|
||||||
## Deploy
|
## Deploy
|
||||||
App is designed to be run in docker container and deployed using docker-compose.
|
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
|
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
|
-- CreateEnum
|
||||||
CREATE TYPE "FeedType" AS ENUM ('account', 'channel');
|
CREATE TYPE "FeedTypeBadge" AS ENUM ('account', 'channel');
|
||||||
|
|
||||||
-- CreateTable
|
-- CreateTable
|
||||||
CREATE TABLE "Tag" (
|
CREATE TABLE "Tag" (
|
||||||
|
@ -54,7 +54,7 @@ CREATE TABLE "Feed" (
|
||||||
"locked" BOOLEAN NOT NULL,
|
"locked" BOOLEAN NOT NULL,
|
||||||
"lastStatusAt" TIMESTAMP(3),
|
"lastStatusAt" TIMESTAMP(3),
|
||||||
"createdAt" TIMESTAMP(3) NOT NULL,
|
"createdAt" TIMESTAMP(3) NOT NULL,
|
||||||
"type" "FeedType" NOT NULL DEFAULT E'account',
|
"type" "FeedTypeBadge" NOT NULL DEFAULT E'account',
|
||||||
"parentFeedName" TEXT,
|
"parentFeedName" TEXT,
|
||||||
"parentFeedDomain" TEXT,
|
"parentFeedDomain" TEXT,
|
||||||
"fulltext" TEXT NOT NULL DEFAULT E'',
|
"fulltext" TEXT NOT NULL DEFAULT E'',
|
||||||
|
|
|
@ -43,7 +43,7 @@ model Field {
|
||||||
@@index([value])
|
@@index([value])
|
||||||
}
|
}
|
||||||
|
|
||||||
enum FeedType{
|
enum FeedTypeBadge{
|
||||||
account
|
account
|
||||||
channel
|
channel
|
||||||
}
|
}
|
||||||
|
@ -69,7 +69,7 @@ model Feed {
|
||||||
locked Boolean
|
locked Boolean
|
||||||
lastStatusAt DateTime?
|
lastStatusAt DateTime?
|
||||||
createdAt DateTime
|
createdAt DateTime
|
||||||
type FeedType @default(account)
|
type FeedTypeBadge @default(account)
|
||||||
parentFeedName String?
|
parentFeedName String?
|
||||||
parentFeedDomain String?
|
parentFeedDomain String?
|
||||||
fulltext String @default("")
|
fulltext String @default("")
|
||||||
|
|
Ładowanie…
Reference in New Issue