hacking: add examples for clarity

Signed-off-by: Vlad-Stefan Harbuz <vlad@vladh.net>
This commit is contained in:
Vlad-Stefan Harbuz 2022-11-14 09:16:47 +00:00 committed by Drew DeVault
parent 1549432496
commit 5e3b25c91b
1 changed files with 2 additions and 2 deletions

View File

@ -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: