This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
FoxMaSk
committed
Oct 21, 2017
1 parent
e5ec15f
commit 89b0782
Showing
8 changed files
with
92 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
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,71 @@ | ||
======== | ||
|
||
Service Description: | ||
-------------------- | ||
|
||
The front page of internet | ||
|
||
User Guide | ||
---------- | ||
|
||
Activation of the service | ||
~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
From the page http://127.0.0.1:8000/th/service/add/ | ||
|
||
.. image:: https://raw.githubusercontent.com/foxmask/django-th/master/docs/installation_guide/public_service_wallabag_add.png | ||
:alt: My Activated Services | ||
|
||
then in the form, select Reddit in the dropdown box and press "Activate it" | ||
|
||
Defining a trigger | ||
~~~~~~~~~~~~~~~~~~ | ||
|
||
with Reddit as consumer, when another service is used as a provider | ||
|
||
.. image:: https://raw.githubusercontent.com/foxmask/django-th/master/docs/installation_guide/reddit_consumer_step3.png | ||
:alt: reddit step 3 | ||
|
||
.. image:: https://raw.githubusercontent.com/foxmask/django-th/master/docs/installation_guide/reddit_consumer_step4.png | ||
:alt: reddit step 4 | ||
|
||
with Reddit as provider, when another service is used as a consumer | ||
|
||
.. image:: https://raw.githubusercontent.com/foxmask/django-th/master/docs/installation_guide/reddit_provider_step1.png | ||
:alt: reddit step 1 | ||
|
||
.. image:: https://raw.githubusercontent.com/foxmask/django-th/master/docs/installation_guide/reddit_provider_step2.png | ||
:alt: reddit step 2 | ||
|
||
Installation Guide | ||
------------------ | ||
|
||
Requesting a key | ||
~~~~~~~~~~~~~~~~ | ||
|
||
On https://dev.evernote.com/ at the top right of the page, click on 'get an api key'. | ||
|
||
Fill the form and get the informations that you will need to provide in the next paragraph | ||
|
||
|
||
The service keys | ||
~~~~~~~~~~~~~~~~ | ||
|
||
Here are the modifications of .env file you will need to make to be able to use your credentials with Reddit | ||
|
||
.. code-block:: python | ||
TH_REDDIT_CLIENT_ID='your consumer key' | ||
TH_REDDIT_CLIENT_SECRET='your consumer secret' | ||
TH_REDDIT_USER_AGENT=TriggerHappy:1.5.0 (by /u/foxmask2) | ||
Configuration from the Admin panel | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
http://127.0.0.1:8000/admin/django_th/servicesactivated/ | ||
|
||
.. image:: https://raw.githubusercontent.com/foxmask/django-th/master/docs/installation_guide/service_reddit.png | ||
:target: https://reddit.com/ | ||
:alt: Reddit |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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