This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App; | |
use Jackalope\Query\Row; | |
use PHPCR\Migrations\VersionInterface; | |
use PHPCR\SessionInterface; | |
use Sulu\Component\Localization\Localization; | |
use Symfony\Component\DependencyInjection\ContainerAwareInterface; | |
use Symfony\Component\DependencyInjection\ContainerAwareTrait; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set('php_version', function () { | |
return ask(' What PHP version to install? ', '8.2', ['8.1', '8.2']); | |
}); | |
set('db_type', function () { | |
$supportedDbTypes = [ | |
'none', | |
'mysql', | |
'mariadb', | |
'postgresql', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
option_settings: | |
aws:elasticbeanstalk:application:environment: | |
APP_ENV: prod | |
commands: | |
01_update_composer: | |
command: export COMPOSER_HOME=/root && /usr/bin/composer.phar self-update | |
02_setvars: | |
command: /opt/elasticbeanstalk/bin/get-config environment | jq -r 'to_entries | .[] | "export \(.key)=\"\(.value)\""' > /etc/profile.d/sh.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ExportCommand extends Command | |
{ | |
protected static $defaultName = 'kiora:export'; | |
private EntityManagerInterface $entityManager; | |
private SerializerInterface $serializer; | |
public function __construct(EntityManagerInterface $entityManager, SerializerInterface $serializer) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |