Make a sample configuration file
This commit is contained in:
parent
bc2801d7f0
commit
616db3d633
|
@ -19,3 +19,4 @@ qp_indexer.toml
|
||||||
nix_flake/result
|
nix_flake/result
|
||||||
nix_flake/test_vm/nixos.qcow2
|
nix_flake/test_vm/nixos.qcow2
|
||||||
nix_flake/test_vm/result
|
nix_flake/test_vm/result
|
||||||
|
quickpeep.ron
|
|
@ -0,0 +1,98 @@
|
||||||
|
(
|
||||||
|
// Web front-end (web)
|
||||||
|
web: (
|
||||||
|
seed_collection: (
|
||||||
|
column1: [
|
||||||
|
(
|
||||||
|
name: "Kind",
|
||||||
|
tags: [
|
||||||
|
(name: "Blog", id: "blog"),
|
||||||
|
(name: "Manual", id: "man"),
|
||||||
|
(name: "Cheatsheets", id: "cheatsheets"),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
(
|
||||||
|
name: "Personage",
|
||||||
|
tags: [
|
||||||
|
(name: "Personal", id: "personal"),
|
||||||
|
(name: "Small team (personal but multiple people)", id: "multipersonal"),
|
||||||
|
(name: "Community", id: "community"),
|
||||||
|
(name: "Non-profit organisation", id: "nonprofit"),
|
||||||
|
(name: "Company", id: "company"),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
],
|
||||||
|
column2: [
|
||||||
|
(
|
||||||
|
name: "Content",
|
||||||
|
tags: [
|
||||||
|
(name: "Technical (broad category)", id: "technical"),
|
||||||
|
(name: "Software", id: "software"),
|
||||||
|
(name: "Electronics", id: "electronics"),
|
||||||
|
(name: "Mechanical", id: "mechanical"),
|
||||||
|
(name: "Physics", id: "physics"),
|
||||||
|
(name: "Chemistry", id: "chemistry"),
|
||||||
|
(name: "Biology", id: "biology"),
|
||||||
|
(name: "Mathematics", id: "maths"),
|
||||||
|
(name: "Non-technical (broad category)", id: "nontechnical"),
|
||||||
|
(name: "Plants", id: "plants"),
|
||||||
|
(name: "Animals", id: "animals"),
|
||||||
|
(name: "Culinary", id: "culinary"),
|
||||||
|
(name: "Visual Art", id: "gfxart"),
|
||||||
|
(name: "Music", id: "music"),
|
||||||
|
(name: "Other Art", id: "miscart"),
|
||||||
|
(name: "Travel", id: "travel"),
|
||||||
|
]
|
||||||
|
)
|
||||||
|
],
|
||||||
|
column3: [
|
||||||
|
(
|
||||||
|
name: "Anti-tags",
|
||||||
|
tags: [
|
||||||
|
(name: "Outdated ('old')", id: "old"),
|
||||||
|
(name: "Unsafe", id: "nsfw"),
|
||||||
|
]
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
|
||||||
|
contact: [
|
||||||
|
("Matrix", "..."),
|
||||||
|
("e-mail", "..."),
|
||||||
|
("ActivityPub/Mastodon/Pleroma etc", "..."),
|
||||||
|
],
|
||||||
|
|
||||||
|
sqlite_db_path: "data/dev_qp_web.sqlite3",
|
||||||
|
),
|
||||||
|
|
||||||
|
// Index (indexer, web)
|
||||||
|
index: (
|
||||||
|
type: "tantivy",
|
||||||
|
index_dir: "./index",
|
||||||
|
icon_store: "./index_icons"
|
||||||
|
),
|
||||||
|
|
||||||
|
// Seeds (raker, indexer)
|
||||||
|
seed_dir: "../quickpeep_seeds",
|
||||||
|
|
||||||
|
// Raker (raker)
|
||||||
|
raker: (
|
||||||
|
// Data files
|
||||||
|
data_dir: "./data",
|
||||||
|
|
||||||
|
// Workbench
|
||||||
|
workbench_dir: "./workbench",
|
||||||
|
|
||||||
|
// Rakepacks
|
||||||
|
emit_dir: "./rakepacks",
|
||||||
|
|
||||||
|
metrics: (
|
||||||
|
prometheus: "127.0.0.1:9774",
|
||||||
|
// bare_metrics: true
|
||||||
|
),
|
||||||
|
|
||||||
|
pack_emitter: (
|
||||||
|
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
Loading…
Reference in New Issue