Skip to content

Commit 0938989

Browse files
authored
README: note on new replicas design
1 parent fbe76ba commit 0938989

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,13 @@ Installation:
3131
It is important to connect to a specific database server.
3232
The command will be something similar to:
3333

34-
ssh -L 4711:s1.web.db.svc.eqiad.wmflabs:3306 [email protected]
34+
ssh -L 4711:enwiki.web.db.svc.eqiad.wmflabs:3306 [email protected]
3535

3636
* `cp env.json.dist env.json` and fill out the details. In the above example,
3737
the `db_port` would be `4711`.
3838
* `npm run-script build && npm run-script start` - note you will need to re-run this
3939
command as you make changes during development.
4040
* You should be up and running at http://localhost:8000
41+
* Note you can only query against the database you set up in your SSH tunnel (`enwiki` in the above example).
42+
In production, the host in env.json is set to `*.web.db.svc.eqiad.wmflabs` which gets changed to the
43+
appropriate host for the given database at run time.

0 commit comments

Comments
 (0)