Symfony 4 application for release notes, download redirects and JSON API for releases.
Composer installation, database creation or migration are automatically done at startup. So simply run
ddev start
and start hacking. To head to the project in the browser run
ddev launch
- edit
.env
vars from.env.dist
- execute
composer install
- execute
php ./bin/console doctrine:schema:create
to create database schema
php ./bin/console doctrine:migrations:migrate
php ./bin/console doctrine:fixtures:load
For DDEV installations prepend ddev
before the composer commands.
composer test
composer test:php:cgl
composer test:php:lint
composer test:php:unit
composer test:php:functional
In the dev context you can authorize your requests with the username developer
and the password password
by default.
To verify the download links generated by https://get.typo3.org/json
you can
run the following command:
php ./bin/console app:download:missing:list
This will create the missing-downloads.yaml with the links to Sourceforge to get the missing packages from there.
In case authorization does not succeed the reason might be that the web server tries to handle the authentication and does not expose the information to the according PHP process - it has been spotted on Apache/PHP-FCGID setups.
Add the following to the beginning of .htaccess
:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1