Skip to content

Commit

Permalink
allow custom domains
Browse files Browse the repository at this point in the history
  • Loading branch information
philipithomas committed Apr 3, 2017
1 parent 2da23e3 commit 895b608
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ This tool was used for [Staffjoy V1 (Suite)](http://github.com/staffjoy/suite) c
## Credit

This repository was conceived and authored in its entirety by [@philipithomas](https://github.com/philipithomas). This is a fork of the internal repository. For security purposes, the Git history has been squashed and client names have been scrubbed from tests.

## Self-Hosting

If you are self-hosting Mobius, please make sure that you are using version `>=0.24` of the `staffoy` client (in `requirements.txt`). Then, modify `mobius/tasking.py` to include your custom domain - when initializing `Client()`, pass in your custom URL base, e.g. `Client(url_base="https://staffjoy.example.com/api/v2/, key=config.STAFFJOY_API_KEY, env=config.ENV)`,


# Project Mobius

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ pytest==2.9.1
pytz==2016.4
requests==2.10.0
six==1.10.0
staffjoy==0.22
staffjoy==0.24
yapf==0.8.2

0 comments on commit 895b608

Please sign in to comment.