diff options
author | Vlad-Stefan Harbuz <vlad@vladh.net> | 2022-11-14 09:16:47 +0000 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2022-11-21 17:18:00 +0100 |
commit | 5e3b25c91b85507d152f17800921ae9179516247 (patch) | |
tree | 16178722b050e0613408c71e244fca14f2f9c263 | |
parent | 15494324960ab8eccb87c9867cc45bc990f4444c (diff) | |
download | sr.ht-docs-5e3b25c91b85507d152f17800921ae9179516247.tar.gz |
hacking: add examples for clarity
Signed-off-by: Vlad-Stefan Harbuz <vlad@vladh.net>
-rw-r--r-- | hacking.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |