File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,13 @@ Installation:
31
31
It is important to connect to a specific database server.
32
32
The command will be something similar to:
33
33
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]
35
35
36
36
* ` cp env.json.dist env.json ` and fill out the details. In the above example,
37
37
the ` db_port ` would be ` 4711 ` .
38
38
* ` npm run-script build && npm run-script start ` - note you will need to re-run this
39
39
command as you make changes during development.
40
40
* 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.
You can’t perform that action at this time.
0 commit comments