Difference between revisions of "Template:Composer"

From Lorekeeper Wiki
Jump to navigation Jump to search
Tag: 2017 source edit
Tag: 2017 source edit
Line 7: Line 7:
 
| You may need to run <code>composer self-update</code> (assuming you have not recently) before installing package(s).
 
| You may need to run <code>composer self-update</code> (assuming you have not recently) before installing package(s).
 
|-
 
|-
| If feasible, run <code>composer update</code>.
+
| * If feasible, run <code>composer update</code>.
 
|-
 
|-
 
| '''If you encounter memory issues:''' Locally, run <code>composer update</code>. Copy the composer.lock file to your site's server.
 
| '''If you encounter memory issues:''' Locally, run <code>composer update</code>. Copy the composer.lock file to your site's server.

Revision as of 10:09, 20 October 2020

Installing packages with Composer:
Commands are given as composer [command]; if you have not installed composer globally, they will be php composer.phar [command] instead.
You may need to run composer self-update (assuming you have not recently) before installing package(s).
* If feasible, run composer update.
If you encounter memory issues: Locally, run composer update. Copy the composer.lock file to your site's server.
Run composer install.