Unverified Commit fb0c82d4 authored by Philipp Winter's avatar Philipp Winter
Browse files

Improve formatting of instructions.

parent 1c7a761a
Loading
Loading
Loading
Loading
+14 −16
Original line number Diff line number Diff line
@@ -10,17 +10,15 @@ 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:

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/anti-censorship/docker-obfs4-bridge/raw/master/deploy-container.sh > deploy-container.sh
   $ curl https://dip.torproject.org/torproject/anti-censorship/docker-obfs4-bridge/raw/master/deploy-container.sh > deploy-container.sh
   $ bash deploy-container.sh address@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@email.com with your email address. Don't forget the semicolon after the environment variables.
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@example.com` with your email address. Don't forget the semicolon after the environment variables.

   ```
    OR_PORT=XXX PT_PORT=YYY EMAIL=address@email.com; \
   OR_PORT=XXX PT_PORT=YYY EMAIL=address@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" \