
POST /api/v1/summits/{id}/presentations scopes * summits/write * summits/write-event * summits/write-presentation payload * 'title' => 'required|string|max:100' * 'description' => 'required|string' * 'social_description' => 'required|string|max:100' * 'level' => 'required|in:Beginner,Intermediate,Advanced,N/A' * 'attendees_expected_learnt' => 'required|string|max:1000' * 'type_id' => 'required|integer' * 'track_id' => 'required|integer' * 'attending_media' => 'required|boolean' * 'links' => 'required|url_array' * 'extra_questions' => 'sometimes|entity_value_array' PUT api/v1/summits/{id}/presentations/{presentation_id} scopes * summits/write * summits/write-event * summits/write-presentation * 'title' => 'sometimes|string|max:100' * 'description' => 'sometimes|string' * 'social_description' => 'sometimes|string|max:100' * 'level' => 'sometimes|in:Beginner,Intermediate,Advanced,N/A' * 'attendees_expected_learnt' => 'sometimes|string|max:1000' * 'type_id' => 'sometimes|integer' * 'track_id' => 'sometimes|integer' * 'attending_media' => 'sometimes|boolean' * 'links' => 'sometimes|url_array' * 'extra_questions' => 'sometimes|entity_value_array' Change-Id: Iadc8bf072491a64ef48a1b475b36b92c2fe1d707
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
- 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=ss > ss.sql
Description