-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move REST API to it's own directory.
- Loading branch information
Showing
2 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.