diff --git a/README.md b/README.md index c6cc1cd..cb3034a 100644 --- a/README.md +++ b/README.md @@ -14,29 +14,37 @@ Access token vending server for OAuth2 ## Getting Started -1. carton install +
    +
  1. carton install
  2. - $ carton install +
    +$ carton install
    +
    -2. Edit `config/production.pl` +
  3. Edit `config/production.pl`
  4. - +{ - app_name => '__YOUR_APP_NAME__', - description => '__YOUR_APP_DESCRIPTION__', +
    ++{
    +    app_name    => '__YOUR_APP_NAME__',
    +    description => '__YOUR_APP_DESCRIPTION__',
     
    -        client_id     => '__YOUR_APP_CLIENT_ID__',
    -        client_secret => '__YOUR_APP_CLIENT_SECRET__',
    +    client_id     => '__YOUR_APP_CLIENT_ID__',
    +    client_secret => '__YOUR_APP_CLIENT_SECRET__',
     
    -        authorize_uri    => 'http://example.com/authorize',
    -        access_token_uri => 'http://example.com/access_token',
    -        redirect_uri     => 'http://URL_TO_THIS_SERVER.com/token',
    +    authorize_uri    => 'http://example.com/authorize',
    +    access_token_uri => 'http://example.com/access_token',
    +    redirect_uri     => 'http://URL_TO_THIS_SERVER.com/token',
     
    -        scope => [qw/read write/],
    -    };
    +    scope => [qw/read write/],
    +};
    +
    -3. Start server +
  5. Start server
  6. - $ carton exec -- plackup script/oauth2tokenvendingserver-server +
    +$ carton exec -- plackup script/oauth2tokenvendingserver-server
    +
    +
## LICENSE