Resource service for the OpenStack Foundation site
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
smarcet 24000248e2 Added public_comments collection to presentation 5 days ago
Libs Booking Rooms Model 1 month ago
app Added public_comments collection to presentation 5 days ago
bootstrap Upgrade Laravel Version and ORM Framework 2 years ago
config * Fixes on bookable rooms api 3 weeks ago
database Fixed scopes for bookable rooms endpoints 2 weeks ago
doc/source OpenstackId resource server 3 years ago
public Upgrade Laravel Version and ORM Framework 2 years ago
resources * Fixes on bookable rooms api 3 weeks ago
storage Added doctrine L2 cache 2 years ago
tests Added public_comments collection to presentation 5 days ago
.env.example Migrated Mail from native to Sendgrid API 3 months ago
.gitattributes OpenstackId resource server 3 years ago
.gitignore Added new endpoint delete venue room 1 year ago
.gitreview OpenDev Migration Patch 3 months ago
artisan Upgrade Laravel Version and ORM Framework 2 years ago
bindep.txt Fixes from php7.2 migration 6 months ago
clear_logs.sh Upgrade Laravel Version and ORM Framework 2 years ago
composer.json Booking Rooms Model 1 month ago
composer.lock Booking Rooms Model 1 month ago
gulpfile.js Upgrade Laravel Version and ORM Framework 2 years ago
package.json Upgrade Laravel Version and ORM Framework 2 years ago
phpunit.xml OpenstackId resource server 3 years ago
readme.md Added endpoints for speakers profile edit request 2 months ago
requirements.txt OpenstackId resource server 3 years ago
server.php Upgrade Laravel Version and ORM Framework 2 years ago
setup.py OpenstackId resource server 3 years ago
tox.ini OpenstackId resource server 3 years ago
update_doctrine.sh Added Ability to set up external feeds for summit schedule 3 weeks ago
update_project.sh Upgrade Laravel Version and ORM Framework 2 years ago

readme.md

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