
upgraded laravel version from 5.0 to 5.2. Changed ORM from eloquent to Doctrine to support better inheritance handling basically eloquent does not suppor the inheritance model used by Silverstripe which makes dificult to implement write apis on model hierarchies defined with SS schema. Refactoring. Change-Id: I802e171c8b95e81dc21578543ddb6a02003985e5
OpenStackId Resource Server
Prerequisites
* LAMP/LEMP environment
* PHP >= 5.4.0
* 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
- give proper rights to storage folder (775 and proper users)
Permissions
Laravel may require some permissions to be configured: folders within storage and vendor require write access by the web server.
Description