2017 © Pedro Peláez
 

library web

Public website of the CollegeFB project

image

collegefb/web

Public website of the CollegeFB project

  • Friday, November 28, 2014
  • by javiyt
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

CollegeFB/Web

Application using Slim framework and Slimcontroller package to build the website that uses the CollegeFB logic., (*1)

To get it working you need to create a public file and set inside the following code, (*2)

require 'vendor/autoload.php';

$options = array(
    'database'  => 'my_database',
    'twitter'   => array(
        'key'      => 'twitter_key',
        'secret'   => 'twitter_secret',
        'auth_users'    => array(),
    ),
    'xauth_token'   => 'xauth_token',
    'admin_templates_path'  => 'templates/admin',
    'web_templates_path'    => 'templates/web',
);

$bootstrap = new \CollegeFBWeb\BootstrapApp();
$container = $bootstrap->getContainer($options);
$bootstrap->getApp('web', $container)->run();

The Versions