RETIRED, Authentication system for the OpenStack Foundation site
Go to file
Sebastian Marcet 6b0d6c36af IDP Upgrade from Laravel 4.X to 5.X
In order to migrate IDP from LV 4.x to
latest LV version, following task were performed:

* Updated namespace to be complain with PSR-4
* General Refactoring: moved all DB access code
  from services to repositories.
* Migration to LV 5.X: these migration guides
  were applied
  - https://laravel.com/docs/5.3/upgrade#upgrade-5.0
  - https://laravel.com/docs/5.3/upgrade#upgrade-5.1.0
  - https://laravel.com/docs/5.3/upgrade#upgrade-5.2.0
* Improved caching: added repositories decorators
  in order to add REDIS cache to queries, entities

Change-Id: I8edf9f5fce6585129701c88bb88332f242307534
2016-11-17 18:37:40 -03:00
app IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
bootstrap IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
config IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
database IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
doc/source Correct the openstackid.org URL 2015-08-04 14:21:51 +00:00
public IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
resources IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
storage IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
tests IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
.bowerrc OIDC - OpenId Connect Implementation 2015-12-16 11:03:01 -03:00
.env.example IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
.gitattributes IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
.gitignore IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
.gitreview Add a .gitreview file 2014-01-03 19:57:25 +00:00
CONTRIBUTING.md [smarcet] - Refs #4590 - Create initial solution and upload to git repo 2013-10-14 12:16:23 -03:00
artisan IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
behat.yml OIDC - OpenId Connect Implementation 2015-12-16 11:03:01 -03:00
bindep.txt Move other-requirements.txt to bindep.txt 2016-08-23 15:46:43 +02:00
bower.json Added OAUTH2.0 Admin Groups 2016-02-25 17:11:31 -03:00
composer.json IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
gulpfile.js IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
package.json IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
phpunit.xml IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
readme.md IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
requirements.txt Add boilerplate for Sphinx doc rendering 2015-03-23 22:52:45 +00:00
server.php IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
setup.cfg Pin mockery to a release which supports PHP 5.3 2015-04-07 14:55:23 +00:00
setup.py Add boilerplate for Sphinx doc rendering 2015-03-23 22:52:45 +00:00
tox.ini Add boilerplate for Sphinx doc rendering 2015-03-23 22:52:45 +00:00

readme.md

OpenstackId Idp

Prerequisites

* LAMP/LEMP environment
* Redis
* PHP >= 5.3.7
* composer (https://getcomposer.org/)

Install

run following commands on root folder

  • curl -s https://getcomposer.org/installer | php
  • php composer.phar install --prefer-dist
  • php composer.phar dump-autoload --optimize
  • php artisan vendor:publish --provider="Greggilbert\Recaptcha\RecaptchaServiceProvider"
  • php artisan migrate --env=YOUR_ENVIRONMENT
  • php artisan db:seed --env=YOUR_ENVIRONMENT
  • phpunit --bootstrap vendor/autoload.php
  • give proper rights to app/storage folder (775 and proper users)
  • vendor/bin/behat --config /home/smarcet/git/openstackid/behat.yml

Permissions

Laravel may require some permissions to be configured: folders within storage and vendor require write access by the web server.