[tor-commits] [community/master] Improve formatting of instructions.
emmapeel at torproject.org
emmapeel at torproject.org
Thu Aug 8 21:19:17 UTC 2019
commit fb0c82d4fd39886c3966a7b62b4c1f269bc99469
Author: Philipp Winter <phw at nymity.ch>
Date: Wed Aug 7 12:25:01 2019 -0700
Improve formatting of instructions.
---
.../technical-setup/bridge/docker/contents.lr | 30 ++++++++++------------
1 file changed, 14 insertions(+), 16 deletions(-)
diff --git a/content/relay-operations/technical-setup/bridge/docker/contents.lr b/content/relay-operations/technical-setup/bridge/docker/contents.lr
index 979c0e5..b68770c 100644
--- a/content/relay-operations/technical-setup/bridge/docker/contents.lr
+++ b/content/relay-operations/technical-setup/bridge/docker/contents.lr
@@ -10,22 +10,20 @@ We are maintaining a docker container that allows you to quickly set up an obfs4
Now, it's time to run the container. You have two options:
- * We maintain a script that automatically determines a free OR and obfs4 port for you. The script only requires your email address as argument:
-
-```
- $ curl https://dip.torproject.org/anti-censorship/docker-obfs4-bridge/raw/master/deploy-container.sh > deploy-container.sh
- $ bash deploy-container.sh address at email.com
-```
-
- * If you would rather provide your own ports, run the following command and replace XXX with your OR port, YYY with your obfs4 port, and address at email.com with your email address. Don't forget the semicolon after the environment variables.
-
-```
- OR_PORT=XXX PT_PORT=YYY EMAIL=address at email.com; \
- docker run -d \
- -e "OR_PORT=$OR_PORT" -e "PT_PORT=$PT_PORT" -e "EMAIL=$EMAIL" \
- -p "$OR_PORT":"$OR_PORT" -p "$PT_PORT":"$PT_PORT" \
- phwinter/obfs4-bridge:0.1
-```
+1. We maintain a script that automatically determines a free OR and obfs4 port for you. The script only requires your email address as argument:
+ ```
+ $ curl https://dip.torproject.org/torproject/anti-censorship/docker-obfs4-bridge/raw/master/deploy-container.sh > deploy-container.sh
+ $ bash deploy-container.sh address at email.com
+ ```
+2. If you would rather provide your own ports, run the following command and replace `XXX` with your OR port, `YYY` with your obfs4 port, and `address at example.com` with your email address. Don't forget the semicolon after the environment variables.
+
+ ```
+ OR_PORT=XXX PT_PORT=YYY EMAIL=address at example.com; \
+ docker run -d \
+ -e "OR_PORT=$OR_PORT" -e "PT_PORT=$PT_PORT" -e "EMAIL=$EMAIL" \
+ -p "$OR_PORT":"$OR_PORT" -p "$PT_PORT":"$PT_PORT" \
+ phwinter/obfs4-bridge:0.1
+ ```
That's it! Your container should now be bootstrapping your new obfs4 Tor bridge.
---
More information about the tor-commits
mailing list