Restler
-
Download the latest copy from features\html
$ git clone -b features/html https://github.com/Luracast/Restler.git
- Run
composer.phar install
to make sure you have:- twig template library
- bshaffer’s oauth2 libaray
- Make sure the following directories have write permissions to create the compiled template files:
public/examples/_014_oauth2_client/cache
public/examples/_015_oauth2_server/cache
- Make sure the following directory has write permissions. This is where
oauth.sqlite
file be created at run time:public/examples/_015_oauth2_server/OAuth2/db
-
Set up a virtual host for
/path/to/Restler/public
. - Point your browser to
http://yourhost/examples/_014_oauth2_client
to play around.