Skip to content

Commit

Permalink
Merge pull request #4 from arthurlutz/master
Browse files Browse the repository at this point in the history
Thanks arthurlutz!
  • Loading branch information
joar committed Jan 13, 2013
2 parents e25a18c + 58dab30 commit 5aa3ac3
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.rst
Expand Up @@ -38,17 +38,27 @@ directory containing the ``automgtic.ini`` file and run::
Usage Usage
------- -------


Make sure to activate the following plugins on mediagoblin ::

[plugins]
[[mediagoblin.plugins.oauth]]
[[mediagoblin.plugins.api]]
[[mediagoblin.plugins.httpapiauth]]


Once you have installed the dependencies, you need to have an OAuth client Once you have installed the dependencies, you need to have an OAuth client
registered on the GNU MediaGoblin instance, you can register one at registered on the GNU MediaGoblin instance, you can register one at
``instance.example/oauth/client/register``. ``instance.example/oauth/client/register``.


Name it what you want, type should be "Public", and Redirect URI should be "http://www.foo.example/".

Once you have registered your OAuth client you need the client identifier in Once you have registered your OAuth client you need the client identifier in
your config. your config.


.. warning:: .. warning::
Before you start editing your config, do ``cp automgtic.ini Before you start editing your config, do
automgtic_local.ini``, this to separate the version-controlled ``cp automgtic.ini automgtic_local.ini``, this to separate the
``automgtic.ini`` from your local settings. version-controlled ``automgtic.ini`` from your local settings.


When the ``client_id`` is set, run ``./run.py --authorize``, then follow the When the ``client_id`` is set, run ``./run.py --authorize``, then follow the
instructions provided. This will update your ``.ini`` with the ``access_token`` instructions provided. This will update your ``.ini`` with the ``access_token``
Expand Down

0 comments on commit 5aa3ac3

Please sign in to comment.