From 2a5cd3e4eae749c7b47b2498c07fbfbe21468524 Mon Sep 17 00:00:00 2001 From: Ken Powers Date: Tue, 16 Apr 2019 17:35:27 -0400 Subject: [PATCH] Contributing.md: Update production instructions. --- CONTRIBUTING.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index db63f21ee..73503d1af 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -238,11 +238,15 @@ Developer Tools) and entering this into the Console and pressing enter: `window. If you're completely sure that your changes will have no impact to the production servers, you can connect your development build to the production server by putting a file called -`local-development.json` in the `config` directory that looks like this: +`local-development.json` in the `config` directory with the same contents as +`production.json`, except that you should also remove the `updatesEnabled` setting so that +the auto update infrastructure doesn't kick in while you are developing. +`local-development.json` should look something like this: -``` +```json { "serverUrl": "https://textsecure-service.whispersystems.org", + "serverTrustRoot": "SOME_ALPHANUMERIC_STRING_MATCHING_PRODUCTION_JSON", "cdnUrl": "https://cdn.signal.org" } ```