- Create a new project on your computer.
composer create-project eaudeweb/recommended-project:10.x-dev [project-name]
-
When asked "Do you want to remove the existing VCS (.git, .svn..) history? [Y,n]?" choose
Y
-
Create the
example.salt.txt
file with an example hash salt:
drush php-eval 'echo \Drupal\Component\Utility\Crypt::randomBytesBase64(55)' > example.salt.txt
- Run
./vendor/bin/robo site:config
and customizeexample.robo.yml
Below you will find the default README template, please update the README file after creating the project.
Short project description.
- PHP 8.1.6+ (see https://www.drupal.org/node/3295154)
- MySQL 5.7.8+ / MariaDB 10.3.7+
- Apache / NGINX
- Composer (https://getcomposer.org)
- NVM (https://github.com/nvm-sh/nvm)
- Node.js 16 (run
nvm use 16
)
- Clone the repository
- Create a new database
- Create a new virtual host pointing to the web folder of this project
- Update your
/etc/hosts
file accordingly - Run
composer install
- Copy
web/sites/example.settings.local.php
toweb/sites/default/settings.local.php
and customize database credentials. - Copy
example.salt.txt
tosalt.txt
- Copy
example.robo.yml
torobo.yml
and customizeusername
,password
andadmin_username
- (optional) Copy
drush/sites/example.self.site.yml
todrush/sites/self.site.yml
add configure the ssh user.
Note: Please set the transaction isolation level in the database settings array of settings.local.php
.
$databases['default']['default'] = [
'init_commands' => ['isolation' => "SET SESSION tx_isolation='READ-COMMITTED'"],
...
];
- Run
./install.sh
Please make sure you are familiar with:
- Working with helpdesk: https://drupal.eaudeweb.ro/docs/use/helpdesk
- Our GIT workflow: https://drupal.eaudeweb.ro/docs/development-guide/git-workflow
composer update "drupal/core-*" --with-all-dependencies