diff options
author | Cash Costello <cash.costello@gmail.com> | 2013-04-16 15:59:54 -0700 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2013-04-16 15:59:54 -0700 |
commit | c054b938e972b6f31c1f95a469b1220a6c25628e (patch) | |
tree | 87aa97a77f3ef4c47e09cd06ac376f8e069c38fb /mod/oauth_api/vendors/oauth/example/server/INSTALL | |
parent | 9dc21d3970b9f6e56438ae2f8875b1c8bec40e03 (diff) | |
parent | 9c3d423d87fe5f287a48158df105364b6eb36de0 (diff) | |
download | elgg-c054b938e972b6f31c1f95a469b1220a6c25628e.tar.gz elgg-c054b938e972b6f31c1f95a469b1220a6c25628e.tar.bz2 |
Merge pull request #5360 from cash/twitter1.1
Twitter API 1.1 update
Diffstat (limited to 'mod/oauth_api/vendors/oauth/example/server/INSTALL')
-rw-r--r-- | mod/oauth_api/vendors/oauth/example/server/INSTALL | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/mod/oauth_api/vendors/oauth/example/server/INSTALL b/mod/oauth_api/vendors/oauth/example/server/INSTALL deleted file mode 100644 index 249c85e9d..000000000 --- a/mod/oauth_api/vendors/oauth/example/server/INSTALL +++ /dev/null @@ -1,53 +0,0 @@ -In this example I assume that oauth-php lives in /home/john/src/oauth-php - - -1) Create a virtual host and set the DB_DSN VARIABLE to the DSN of your (mysql) database. - -Example -<VirtualHost *> - ServerAdmin admin@localhost - ServerName hello.local - DocumentRoot /home/john/src/oauth-php/example/server/www - - UseCanonicalName Off - ServerSignature On - - SetEnv DB_DSN mysql://foo:bar@localhost/oauth_example_server_db - - <Directory "home/john/src/oauth-php/example/server/www"> - Options Indexes FollowSymLinks MultiViews - AllowOverride None - Order allow,deny - Allow from all - - <IfModule mod_php5.c> - php_value magic_quotes_gpc 0 - php_value register_globals 0 - php_value session.auto_start 0 - </IfModule> - - </Directory> -</VirtualHost> - - -2) Create the database structure for the server: - -# mysql -u foo -p bar -h localhost < /home/john/src/oauth-php/library/store/mysql/mysql.sql - - - -3) Download and install smarty into the smarty/core/smarty directory: - -# cd /home/john/src/oauth-php/example/server/core -# wget 'http://www.smarty.net/do_download.php?download_file=Smarty-2.6.19.tar.gz' -# tar zxf Smarty-2.6.19.tar.gz -# mv Smarty-2.6.19 smarty - - -4) That's it! Point your browser to - - http://hello.local/ - -To get started. - -Arjan Scherpenisse <arjan@mediamatic.nl>, July 2008 |