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 3 Next »

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. run composer install command during installation of In-Portal for it to create /vendor folder
  3. add "/vendor" folder to "svn:ignore", so nobody will commit it by accident
  4. run composer install also when releasing new In-Portal version for "vendor" folder to be included in produced ZIP

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

We might want consider shipping composer.phar in tools folder just in case if it's not installed globally on the server and user (not a developer) want to keep In-Portal installation simple without need to run additional commands in shell.

Related Tasks

  • No labels