
PUT /api/v1/summits/{id} Payload * name (sometimes|string|max:50) * start_date (sometimes|date_format:U) * end_date (required_with:start_date|date_format:U|after:start_date) * submission_begin_date (sometimes|date_format:U) * submission_end_date (required_with:submission_begin_date|date_format:U|after:submission_begin_date) * voting_begin_date (sometimes|date_format:U) * voting_end_date (required_with:voting_begin_date|date_format:U|after:voting_begin_date) * selection_begin_date (sometimes|date_format:U) * selection_end_date (required_with:selection_begin_date|date_format:U|after:selection_begin_date) * registration_begin_date (sometimes|date_format:U) * registration_end_date (required_with:registration_begin_date|date_format:U|after:registration_begin_date) * start_showing_venues_date (sometimes|date_format:U|before:start_date) * schedule_start_date (sometimes|date_format:U) * active (sometimes|boolean) * dates_label (sometimes|string) * time_zone_id (sometimes|timezone) check http://php.net/manual/en/timezones.php * external_summit_id (sometimes|string) * available_on_api (sometimes|boolean) * calendar_sync_name (sometimes|string|max:255) * calendar_sync_desc (sometimes|string) * link (sometimes|url) * registration_link (sometimes|url) * max_submission_allowed_per_user (sometimes|integer|min:1) Required scopes '%s/summits/write' Change-Id: Ib50c64994f9de5e8cfba0aaf2a990708a3c6afb9
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