Skip to content

Commit

Permalink
Move REST API to it's own directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikcw committed Apr 22, 2016
1 parent 1adae76 commit 84053dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/rest/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
The REST API example will run on port 5000 of host 0.0.0.0 (all interfaces) and be secured by SSL (self-signed certificate).

python example/rest/rest.py

To secure your API with a username and password (*highly recommended if exposing to the live internet*), set the PYCIRCULATE_USERNAME and PYCIRCULATE_PASSWORD environment variables.

PYCIRCULATE_USERNAME="myusername" PYCIRCULATE_PASSWORD="password" python examples/rest/rest.py
File renamed without changes.

0 comments on commit 84053dc

Please sign in to comment.