Go to You directory and run install Evolution CMS via Composer.
composer create-project evolutioncms/evolution:3.2.x-dev . --remove-vcs
Important
If you get the error "Install of evolutioncms/evolution failed" during the installation, one of the reasons may be the timeout of long scripts. To solve this, you can pass the COMPOSER_PROCESS_TIMEOUT variable when executing the script. This method provides a quick way to change the default timeout value for a particular execution.
COMPOSER_PROCESS_TIMEOUT=600 composer create-project evolutioncms/evolution:3.2.x-dev . --remove-vcs
The next step is to create a configuration for docker compose using the command:
php core/artisan salo:install
And run the Docker build and up:
php core/artisan salo:build
php core/artisan salo:up
Note
Usually, the salo:build
command is used when Docker is first started.
Use it php core/artisan salo:up
to start the project.
Use it php core/artisan salo:down
to stop the project.
Go to You container with Container name e.x.: "evo4docker". You can see full name Container when run Docker compose.
docker exec -it evo4docker-evo.php-1 bash
The next step go to install path:
cd install
And run the install command.
php cli-install.php --typeInstall=1 --databaseType=mysql --databaseServer=mysql --database=evo --databaseUser=homestead --databasePassword=password --tablePrefix=evo_ --cmsAdmin=admin --cmsAdminEmail=admin@admin.ua --cmsPassword=password --language=en --removeInstall=y
Warning
You should use your own parameters for the variables --cmsAdmin
, --cmsAdminEmail
and --cmsPassword
Delete unused folders and files:
- vendor/
- composer.json
- composer.lock
- config.php.example