Skip to content

Commit

Permalink
add info on how to test peerscanner to README
Browse files Browse the repository at this point in the history
  • Loading branch information
aranhoide committed Aug 7, 2015
1 parent e6a5b57 commit 00ee12f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/github.com/getlantern/peerscanner/README.md
Expand Up @@ -47,6 +47,10 @@ configuration.
You need to set some environment variables to connect to CloudFlare. See
[envvars.bash](https://github.com/getlantern/too-few-secrets/blob/master/envvars.bash).

To test it, use the `-cfldomain` command line flag, which specifies where to register/unregister servers. We have the test domain flashlightproxy.com for this purpose, so you'd say `./peerscanner -cfldomain flashlightproxy.com`. Also, for any flashlight server to register to your test peerscanner you'd have to call it with `./flashlight -registerat https://yourserverurl.org`.

You may use [this test peerscanner](https://cloud.digitalocean.com/droplets/4467475) to test stuff. `ps-test.getiantem.org` points to it. It's normally turned off. Whenever you want to test anything peerscanner related, feel free to log into it, copy over a new peerscanner binary, and start it.

## Duplicate Checking

The program in dupecheck can be used to check the current CloudFlare DNS for
Expand Down

0 comments on commit 00ee12f

Please sign in to comment.