Giter Club home page Giter Club logo

skeleton's Introduction

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 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

  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.2-latest 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 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
  4. 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' like pimcore_maintenance already is.
  5. 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
  6. โœ”๏ธ DONE - You can now visit your pimcore instance:

Other demo/skeleton packages

skeleton's People

Contributors

blackbitdevs avatar blackikeeagle avatar blankse avatar brusch avatar cleggypdc avatar cruiser13 avatar ctippler avatar datom avatar dpfaffenbauer avatar dvesh3 avatar fashxp avatar haaseit avatar igorbenko avatar jdreesen avatar jjonas-gcs avatar jremmurd avatar kaurov avatar kingjia90 avatar maff avatar mattamon avatar mehlichmeyer avatar niklasbr avatar podarcis avatar simonrainer avatar thomaskeil avatar timhonders avatar ultramegatom avatar vmalyk avatar weisswurstkanone avatar yariksheptykin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.