Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

To ease Composer integration with In-Portal I'm proposing to take a bit different approach. For full discussion please go to: Use Composer.

The idea is to:

  1. include "composer.json" with each In-Portal installation (both In-Portal & Intechnic repository)
  2. as one of installation prerequisites assert that "vendor/autoload.php" is present and if it doesn't show composer instructions:
    1. Install Composer by following instructions at https://getcomposer.org/download/
    2. Install Vendors using instructions from https://getcomposer.org/doc/03-cli.md#install
  3. add "/vendor" folder to "svn:ignore", so nobody will commit it by accident
  4. run "composer install --no-dev" also when releasing new In-Portal version for "vendor" folder to be included in produced ZIP
  5. add inclusion of "vendor/autoload.php" into startup.php

This way the "vendor" folder (which might contain outdated dependencies) is never commited and is created automatically while project is installed.

Related Tasks

INP-1394 - Getting issue details... STATUS

  • No labels