* LAMP/LEMP environment
* Redis
* PHP >= 7.0
* composer (https://getcomposer.org/)
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 vendor:publish --provider="Greggilbert\Recaptcha\RecaptchaServiceProvider"
- php artisan migrate --env=YOUR_ENVIRONMENT
- php artisan db:seed --env=YOUR_ENVIRONMENT
- phpunit --bootstrap vendor/autoload.php
- give proper rights to app/storage folder (775 and proper users)
- vendor/bin/behat --config /home/smarcet/git/openstackid/behat.yml
Laravel may require some permissions to be configured: folders within storage and vendor require write access by the web server.
chmod 777 vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer
Laravel may require some permissions to be configured: folders within storage and vendor require write access by the web server.
php artisan doctrine:schema:validate
php artisan doctrine:schema:create --sql --em=model > model.sql
php artisan doctrine:migrations:generate --connection=model --create=
php artisan doctrine:migrations:status --connection=model
php artisan doctrine:migrations:migrate --connection=model
php artisan queue:work
php artisan idp:create-super-admin {email} {password}
php artisan db:seed --force --env={env}
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
nvm use
php artisan view:clear php artisan cache:clear
./vendor/bin/phpunit
- Config the PHPStorm CLI interpreter ( Docker Image )
- Config the Server setting in PHPStorm ( 0.0.0.0 / 80 and map root to /var/www)
- Setup debug configuration see https://www.tsukie.com/en/technologies/debug-laravel-web-application-in-docker-with-xdebug-and-phpstorm and https://medium.com/the-sensiolabs-tech-blog/how-to-use-xdebug-in-docker-phpstorm-76d998ef2534
https://gist.github.com/mkfares/41c9609fcde8d9f665210034e99d4bd9