Skip to content
/ demo Public
forked from pimcore/demo

The Official Pimcore Demo Package - You're new to Pimcore? That's your entry point! 🤓

License

Notifications You must be signed in to change notification settings

cibirii/demo

 
 

Repository files navigation

Demo and Blue Print Application for Pimcore

This demo package is intended to be used by Pimcore newcomers who want to learn Pimcore and see it in action. It's tailored get an overview of Pimcores CMS, DAM, PIM and E-Commerce functionality and can be used as a blue print for E-Commerce Applications built with Pimcore. If you are an experienced Pimcore developer, have a look at the Skeleton linked below instead.

Getting started

COMPOSER_MEMORY_LIMIT=-1 composer create-project pimcore/demo 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 demo project using the pimcore/pimcore image docker run --rm -v `pwd`:/var/www/html pimcore/pimcore:PHP8.0-fpm composer create-project pimcore/demo my-project
  2. Fix permissions of the created directory (we are already working on a fix to make this redundant) sudo chown -R 1000 my-project/
  3. Go to your new project cd my-project/
  4. Part of the new project is a docker compose file. Use it to start the needed services docker-compose up -d
  5. 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
  6. Fix permissions again, the installer has created new directories docker-compose run --rm php-fpm chown -R www-data:www-data var/*
  7. ✔️ DONE - You can now visit your pimcore-demo:

Other demo/skeleton packages

About

The Official Pimcore Demo Package - You're new to Pimcore? That's your entry point! 🤓

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 85.6%
  • Twig 9.7%
  • CSS 4.1%
  • Other 0.6%