aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad-Stefan Harbuz <vlad@vladh.net>2022-11-14 09:16:47 +0000
committerDrew DeVault <sir@cmpwn.com>2022-11-21 17:18:00 +0100
commit5e3b25c91b85507d152f17800921ae9179516247 (patch)
tree16178722b050e0613408c71e244fca14f2f9c263
parent15494324960ab8eccb87c9867cc45bc990f4444c (diff)
downloadsr.ht-docs-5e3b25c91b85507d152f17800921ae9179516247.tar.gz
hacking: add examples for clarity
Signed-off-by: Vlad-Stefan Harbuz <vlad@vladh.net>
-rw-r--r--hacking.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/hacking.md b/hacking.md
index f7010c2..7c7dea9 100644
--- a/hacking.md
+++ b/hacking.md
@@ -51,7 +51,7 @@ When filling in the `config.ini` file, remember the following:
* If you do not have SSL enabled for Postgres, be sure to add `?sslmode=disable`
to the end of your Postgres URL.
-Then, for each `SERVICE`:
+Then, for each `SERVICE` (e.g. `meta.sr.ht`):
* `export SRHT_PATH=/path/to/core.sr.ht/srht`
* `export PYTHONPATH=/path/to/core.sr.ht:/path/to/$SERVICE`
@@ -70,7 +70,7 @@ For each service *except* meta.sr.ht:
For each `SERVICE`:
-* `createdb $SERVICE`
+* `createdb $SERVICE` (e.g. `createdb meta.sr.ht`)
* `psql -d $SERVICE -f schema.sql` (e.g. `psql -d meta.sr.ht -f schema.sql`)
To run a service: