pimcore / skeleton
Installs: 169 349
Dependents: 0
Suggesters: 0
Security: 0
Stars: 110
Watchers: 25
Forks: 111
Open Issues: 6
Type:project
Requires
- pimcore/admin-ui-classic-bundle: *
- pimcore/pimcore: *
- pimcore/platform-version: ^2024.4
- pimcore/quill-bundle: *
- symfony/amqp-messenger: ^6.2
- symfony/dotenv: ^6.2
- symfony/runtime: ^6.2
Requires (Dev)
- codeception/codeception: ^5.0.3
- codeception/module-symfony: ^3.1.0
Suggests
- pimcore/data-hub: Universal data interface for GraphQL, CSV and other formats
- 2024.x-dev
- 2024.4.x-dev
- v2024.4.1
- v2024.4.0
- 2024.3.x-dev
- v2024.3.1
- v2024.3.0
- 2024.2.x-dev
- v2024.2.1
- v2024.2.0
- v11.1.0-RC1
- 11.0.x-dev
- v11.0.4
- v11.0.3
- v11.0.2
- v11.0.1
- v11.0.0
- v11.0.0-RC2
- v11.0.0-RC1
- v11.0.0-BETA1
- v11.0.0-ALPHA3
- v11.0.0-ALPHA2
- v11.0.0-ALPHA1
- 10.2.x-dev
- v10.2.6
- v10.2.5
- v10.2.4
- v10.2.3
- v10.2.2
- v10.2.1
- v10.2.0
- v10.1.14
- v10.1.13
- v10.1.12
- v10.1.11
- v10.1.10
- v10.1.9
- v10.1.8
- v10.1.7
- v10.1.6
- v10.1.5
- v10.1.4
- v10.1.3
- v10.1.2
- v10.1.1
- v10.1.0
- v10.0.9
- 10.0.8
- v10.0.7
- v10.0.6
- v10.0.5
- v10.0.4
- v10.0.3
- v10.0.2
- v10.0.1
- v10.0.0
- 2.8.x-dev
- v2.8.22
- v2.8.21
- v2.8.20
- v2.8.19
- v2.8.18
- v2.8.17
- v2.8.16
- v2.8.15
- v2.8.14
- v2.8.13
- v2.8.12
- v2.8.11
- v2.8.10
- v2.8.9
- v2.8.8
- v2.8.7
- v2.8.6
- v2.8.5
- v2.8.4
- v2.8.3
- v2.8.2
- v2.8.1
- v2.8.0
- v2.7.3
- v2.7.2
- v2.7.1
- v2.7.0
- v2.6.10
- v2.6.9
- v2.6.8
- v2.6.7
- v2.6.6
- v2.6.5
- v2.6.4
- v2.6.3
- v2.6.2
- v2.6.1
- v2.6.0
- v2.5.3
- v2.5.2
- v2.5.1
- v2.5.0
- v2.4.2
- v2.4.1
- v2.4.0
- v2.3.6
- v2.3.5
- v2.3.4
- v2.3.3
- v2.3.2
- v2.3.1
- v2.3.0
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.3.0
- v1.2.0
- v1.1.1
- v1.1.0
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-add-quill
- dev-env_params_update
- dev-flex
- dev-platformsh
This package is auto-updated.
Last update: 2024-12-17 09:08:55 UTC
README
This skeleton should be used by experienced Pimcore developers for starting a new project from the ground up. If you are new to Pimcore, it's better to start with our demo package, listed below 😉
Getting started
COMPOSER_MEMORY_LIMIT=-1 composer create-project pimcore/skeleton my-project
cd ./my-project
./vendor/bin/pimcore-install
- Point your virtual host to
my-project/public
- [Only for Apache] Create
my-project/public/.htaccess
according to https://pimcore.com/docs/platform/Pimcore/Installation_and_Upgrade/System_Setup_and_Hosting/Apache_Configuration/ - Open https://your-host/admin in your browser
- Done! 😎
Docker
You can also use Docker to set up a new Pimcore Installation. You don't need to have a PHP environment with composer installed.
Prerequisites
- Your user must be allowed to run docker commands (directly or via sudo).
- You must have docker compose installed.
- Your user must be allowed to change file permissions (directly or via sudo).
Follow these steps
-
Initialize the skeleton project using the
pimcore/pimcore
imagedocker run -u `id -u`:`id -g` --rm -v `pwd`:/var/www/html pimcore/pimcore:php8.3-latest composer create-project pimcore/skeleton my-project
-
Go to your new project
cd my-project/
-
Part of the new project is a docker compose file
- Run
sed -i "s|#user: '1000:1000'|user: '$(id -u):$(id -g)'|g" docker-compose.yaml
to set the correct user id and group id. - Start the needed services with
docker compose up -d
- Run
-
Install pimcore and initialize the DB
docker compose exec php vendor/bin/pimcore-install
- When asked for admin user and password: Choose freely
- This can take a while, up to 20 minutes
- If you select to install the SimpleBackendSearchBundle please make sure to add the
pimcore_search_backend_message
to your.docker/supervisord.conf
file inside value for 'command' likepimcore_maintenance
already is.
-
Run codeception tests:
docker compose run --user=root --rm test-php chown -R $(id -u):$(id -g) var/ public/var/
docker compose run --rm test-php vendor/bin/pimcore-install -n
docker compose run --rm test-php vendor/bin/codecept run -vv
-
✔️ DONE - You can now visit your pimcore instance:
- The frontend: http://localhost
- The admin interface, using the credentials you have chosen above: http://localhost/admin
Pimcore Platform Version
By default, Pimcore Platform Version is added as a dependency which ensures installation of compatible and in combination with each other tested versions of additional Pimcore modules. More information about the Platform Version can be found in the Platform Version docs.
It might be necessary to update a specific Pimcore module to a version that is not included in the Platform Version.
In that case, you need to remove the platform-version
dependency from your composer.json
and update the module to
the desired version.
Be aware that this might lead to a theoretically compatible but untested combination of Pimcore modules.