youwe/pimcore-quickstart

There is no license information available for the latest version (0.0.24) of this package.

Installs: 330

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 12

Forks: 0

Open Issues: 0

Type:pimcore-plugin

0.0.24 2017-06-01 10:07 UTC

README

This plugin should:

  • copy config files to the project
    • /website/var/config/acceptance.system.php
    • /website/var/config/testing.system.php
    • /website/var/config/system.php
    • /website/var/config/system.example.php
    • /website/var/config/extensions.php
  • copy json class definitions to project
    • /website/var/plugins/PimcoreDeployment
  • copy fixture files to project
    • /website/var/plugins/PimcoreFixtures
  • copy overriding parent BASE object
    • /website/lib/Object/BaseConcrete.php
  • copy overriding parent objects
    • /website/lib/Object/Product.php
    • /website/lib/Object/Category.php
    • /website/lib/Object/ProductSite.php
    • /website/lib/Object/OutputChannel.php
  • copy trait files to the project (used by the object classes)
    • /website/lib/Object/Traits/DefaultParentObject.php
    • /website/lib/Object/Traits/DefaultKeyFormat.php
  • copy /tools/build/* (all the build tools)
  • include the tools / build stuff --> from ssh://git@source.youwe.nl:7999/pimb2b/pimcore-capistrano.git
  • include plugins through composer:
    • PimcoreDeployment
    • PimcoreFixtures
    • PimcoreHrefTypeahead
    • PimcoreObjectBridge
    • PimcoreObjectDefaults
    • PimcoreQuickstart (this plugin)
    • PimcoreShop
  • run composer update
  • instruct the user of what is left to do

We replicate the pimcore tree structure inside the plugin, so we can easily put all the files into place using magic.

Getting started

cd /data/projects/
composer create-project pimcore/pimcore ./your-project-name-pimcore
cd your-project-name-pimcore
composer dumpautoload -o
  • require quickstart
composer require youwe/pimcore-quickstart
  • run the quickstart script to complete the baseproject
./plugins/PimcoreQuickstart/cli/quickstart.sh
  • verify the output of the script!!

  • follow the instructions on screen

  • push your new project to your new git repo

cd /data/projects/your-project-name-pimcore
git init
git add --all
git commit -m "Initial Commit"
git remote add origin ssh://git@source.youwe.nl:7999/pimb2b/pimcore-your-project-name.git
git push -u origin master
  • continue local setup instructions from the README.md of the new project

Commands

Initialize the project from the plugin:

  • /plugins/PimcoreQuickstart/cli/quickstart.sh

DO NOT USE (this is only for quickstart-plugin-development purposes):

  • /plugins/PimcoreQuickstart/cli/copy-project-files-to-plugin.sh

Installation

composer require youwe/pimcore-quickstart

Add to /.gitignore :

/plugins/PimcoreQuickstart