Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

Latest commit

 

History

History
32 lines (24 loc) · 917 Bytes

File metadata and controls

32 lines (24 loc) · 917 Bytes

CakePHP Google API Plugin sample

This is sample for CakePHP Google API Plugin.

  1. Install

    git clone --recursive https://github.com/LubosRemplik/CakePHP-Google-API-Plugin-sample.git google-sample-app
  2. Create database & run bake, schema scripts

    # basic cakephp installation
    cd google-sample-app/app
    chmod -R 777 tmp
    Console/cake bake db_config
    
    # schema
    Console/cake schema create -p Opauth
  3. Configure - set google's credentials
    Copy bootstrap.php.default to bootstrap.php and add your client_id, client_secret. You can get these details at https://code.google.com/apis/console/

    cp Config/bootstrap.php.default Config/bootstrap.php
    vim Config/bootstrap.php

Note You have to configure Opauth correctly