Skip to content

The Pimcore Skeleton - The right package to get your Pimcore project started from the ground up! 💪

Notifications You must be signed in to change notification settings

kczechowskibp/skeleton

 
 

Repository files navigation

Pimcore Project Skeleton

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

Docker

You can also use Docker to setup a new Pimcore Installation. You don't need to have a PHP environment with composer installed.

Prerequisits

  • 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

  1. Initialize the skeleton project using the pimcore/pimcore image docker run -u `id -u`:`id -g` --rm -v `pwd`:/var/www/html pimcore/pimcore:PHP8.1-fpm composer create-project pimcore/skeleton my-project

  2. Go to your new project cd my-project/

  3. Part of the new project is a docker compose file

    • Run echo `id -u`:`id -g` to retrieve your local user and group id
    • Open the docker-compose.yml file in an editor, uncomment all the user: '1000:1000' lines and update the ids if necessary
    • Start the needed services with docker-compose up -d
  4. Install pimcore and initialize the DB docker-compose exec php-fpm vendor/bin/pimcore-install --mysql-host-socket=db --mysql-username=pimcore --mysql-password=pimcore --mysql-database=pimcore

    • When asked for admin user and password: Choose freely
    • This can take a while, up to 20 minutes
  5. ✔️ DONE - You can now visit your pimcore instance:

Other demo/skeleton packages

About

The Pimcore Skeleton - The right package to get your Pimcore project started from the ground up! 💪

Resources

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 83.5%
  • Twig 13.6%
  • Shell 2.9%