RETIRED, Authentication system for the OpenStack Foundation site
Go to file
smarcet 300c9fa1ea Fixed force ssl schema for urls
Change-Id: I48cd4c06ac566520c6a91b46f57b635ce8e3b50d
Signed-off-by: smarcet <smarcet@gmail.com>
2020-11-02 12:01:03 -03:00
app Fixed force ssl schema for urls 2020-11-02 12:01:03 -03:00
bootstrap IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
config Fixed repository dependencies 2020-10-27 23:47:01 -03:00
database Added stream chat roles 2020-09-10 18:23:51 -03:00
doc/source Switch to openstackdocstheme and latest Sphinx 2019-04-09 17:23:32 +00:00
playbooks Updated composer 2020-10-27 13:42:41 -03:00
public Added code of conduct 2020-10-12 12:37:29 -03:00
resources Fixed email wording 2020-10-12 14:48:19 -03:00
roles/setup-test-laravel-env Convert remaining jobs to Zuul v3 native 2020-02-26 01:36:02 +00:00
storage IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
tests New OAUTH2 endpoints to update user info (ME) 2020-08-12 10:01:18 -03:00
.babelrc Migrated bower dependencies 2018-04-10 11:47:09 -03:00
.env.example Added Rabbit MQ config 2020-06-23 08:14:05 -03:00
.gitattributes IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
.gitignore Added copy 2 clipboard feature on OAUTH2 Client Data 2020-02-29 01:06:03 -03:00
.gitreview OpenDev Migration Patch 2019-04-19 19:25:33 +00:00
.zuul.yaml Convert remaining jobs to Zuul v3 native 2020-02-26 01:36:02 +00:00
CONTRIBUTING.md [smarcet] - Refs #4590 - Create initial solution and upload to git repo 2013-10-14 12:16:23 -03:00
artisan Migration to PHP 7.x 2019-01-10 13:51:06 -03:00
behat.yml OIDC - OpenId Connect Implementation 2015-12-16 11:03:01 -03:00
bindep.txt Migration to PHP 7.x 2019-01-10 13:51:06 -03:00
clear_logs.sh IDP - User Management 2020-01-23 03:06:05 -03:00
composer.json Updated composer 2020-10-27 13:42:41 -03:00
composer.lock Updated CORS middleware 2020-10-23 17:32:00 -03:00
gulpfile.js IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
package.json Added copy 2 clipboard feature on OAUTH2 Client Data 2020-02-29 01:06:03 -03:00
phpunit.xml Migration to PHP 7.x 2019-01-10 13:51:06 -03:00
readme.md Fixed mappings to be valid with doctrine validate tool 2020-02-26 09:43:59 -03:00
requirements.txt upgraded sphinx version 2019-09-30 08:53:37 -03:00
server.php Migration to PHP 7.x 2019-01-10 13:51:06 -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
update_doctrine.sh Stream Chat SSO 2020-07-16 08:39:12 -03:00
webpack.config.js Added copy 2 clipboard feature on OAUTH2 Client Data 2020-02-29 01:06:03 -03:00
webpack.mix.js Migration to PHP 7.x 2019-01-10 13:51:06 -03:00

readme.md

OpenstackId Idp

Prerequisites

* LAMP/LEMP environment
* Redis
* PHP >= 7.0
* 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.

chmod 777 vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer

Permissions

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

create schema

php artisan doctrine:schema:create --sql --em=model > model.sql

Doctrine Migrations

create new migrations

php artisan doctrine:migrations:generate --connection=model --create=

check status

php artisan doctrine:migrations:status --connection=model

run

php artisan doctrine:migrations:migrate --connection=model

start queue worker

php artisan queue:work

create super user

php artisan idp:create-super-admin {email} {password}

seed db

php artisan db:seed --force --env={env}