smarcet d54f301ab1 Added email config for dev/testing
Change-Id: If7e26d0d12b7cd90ccdc4b4f113b0de80f6d5e23
2019-05-07 16:58:46 -03:00
2019-05-07 16:58:46 -03:00
2015-08-18 13:48:13 -03:00
2019-01-09 12:27:19 -03:00
2016-11-04 17:07:57 -03:00
2015-08-18 13:48:13 -03:00
2019-04-19 19:25:32 +00:00
2019-01-09 10:28:16 -03:00
2015-08-18 13:48:13 -03:00
2015-08-18 13:48:13 -03:00
2015-08-18 13:48:13 -03:00
2015-08-18 13:48:13 -03:00

OpenStackId Resource Server

Prerequisites

* LAMP/LEMP environment
* PHP >= 7.1
* Redis
* 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 migrate --env=YOUR_ENVIRONMENT
  • php artisan db:seed --env=YOUR_ENVIRONMENT
  • phpunit --bootstrap vendor/autoload.php
  • php artisan doctrine:generate:proxies
  • php artisan doctrine:clear:metadata:cache
  • php artisan doctrine:clear:query:cache
  • php artisan doctrine:clear:result:cache
  • php artisan doctrine:ensure:production
  • php artisan route:clear
  • php artisan route:cache
  • give proper rights to storage folder (775 and proper users)
  • 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 SS schema

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

Doctrine Migrations

For Config Storage

create new migration

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

check status

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

run

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

For Model Storage

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

Description
RETIRED, Resource service for the OpenStack Foundation site
Readme 12 MiB