RETIRED, Resource service for the OpenStack Foundation site
Go to file
smarcet 39fcfb3dd6 Updated summit document
added show_always field

Change-Id: I1f77c1d796d80adf6e94a9e220c4bb89be6cfc57
Signed-off-by: smarcet <smarcet@gmail.com>
2021-04-19 15:12:40 -03:00
app Updated summit document 2021-04-19 15:12:40 -03:00
bootstrap Upgrade Laravel Version and ORM Framework 2016-09-06 13:47:37 -03:00
config Updated Summit Event 2021-04-06 10:15:44 -03:00
database Updated summit document 2021-04-19 15:12:40 -03:00
doc/source OpenstackId resource server 2015-08-18 13:48:13 -03:00
Libs Sponsored Projects - Endpoints 2020-11-30 15:09:40 -03:00
public Upgrade Laravel Version and ORM Framework 2016-09-06 13:47:37 -03:00
resources * Summit Registration Model/Endpoints 2020-09-21 09:52:07 -03:00
storage Added doctrine L2 cache 2016-11-04 17:07:57 -03:00
tests Multiform parsing 2021-04-19 15:02:26 -03:00
.env.example Sponsored Projects - Endpoints 2020-11-30 15:09:40 -03:00
.gitattributes OpenstackId resource server 2015-08-18 13:48:13 -03:00
.gitignore * Summit Registration Model/Endpoints 2020-09-21 09:52:07 -03:00
.gitreview OpenDev Migration Patch 2019-04-19 19:25:32 +00:00
artisan Upgrade Laravel Version and ORM Framework 2016-09-06 13:47:37 -03:00
bindep.txt Fixes from php7.2 migration 2019-01-09 10:28:16 -03:00
clear_logs.sh Upgrade Laravel Version and ORM Framework 2016-09-06 13:47:37 -03:00
composer.json Added S3 file system to media uploads 2020-11-16 11:15:33 -03:00
composer.lock Added S3 file system to media uploads 2020-11-16 11:15:33 -03:00
gulpfile.js Upgrade Laravel Version and ORM Framework 2016-09-06 13:47:37 -03:00
migrate.sh * Summit Registration Model/Endpoints 2020-09-21 09:52:07 -03:00
package.json Upgrade Laravel Version and ORM Framework 2016-09-06 13:47:37 -03:00
phpunit.xml Added filtering by message to push notifications 2020-02-06 15:29:39 -03:00
readme.md * Summit Registration Model/Endpoints 2020-09-21 09:52:07 -03:00
requirements.txt OpenstackId resource server 2015-08-18 13:48:13 -03:00
server.php Upgrade Laravel Version and ORM Framework 2016-09-06 13:47:37 -03:00
setup.py OpenstackId resource server 2015-08-18 13:48:13 -03:00
tox.ini OpenstackId resource server 2015-08-18 13:48:13 -03:00
update_doctrine.sh * Summit Registration Model/Endpoints 2020-09-21 09:52:07 -03:00
update_project.sh Upgrade Laravel Version and ORM Framework 2016-09-06 13:47:37 -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

validate SS schema

php artisan doctrine:schema:validate

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

Queues

php artisan queue:work

message broker

php artisan queue:work message_broker