Loading...
 
Skip to main content

Architecture / Installation


Re: Composer not found problem

posts: 37

I'm running Tiki on Windows Server 2016 and I use Composer through command line.
I wasn't able to get it working through the webinterface, but with these steps it's a working solution for Tiki 20.x:

- Install composer on your server https://getcomposer.org/Composer-Setup.exe
- Create a composer.json file in the web root with the content:

Copy to clipboard
{ "name": "YOURWEBSITE", "description": "", "license": "LGPL-2.1", "homepage": "YOURURL", "minimum-stability": "stable", "require": { "psr/log": "^1.0", "google/apiclient": "^2.2.2", "enygma/expose": "^3.0", "thiagoalessio/tesseract_ocr": "^2.7.0", "mpdf/mpdf": "^7.1", "xorti/mxgraph-editor": "^3.9.12.2", "npm-asset/pdfjs-dist-viewer-min": "~2.1.266", "bower-asset/wodo.texteditor": "^0.5.9", "j0k3r/php-readability": "^1.1.10", "npm-asset/pdfjs-dist": "~2.0.487", "media-alchemyst/media-alchemyst": "^0.5.1", "mathjax/mathjax": "^2.7", "npm-asset/lozad": "^1.6.0", "fullcalendar/fullcalendar-scheduler": "^1.9", "jerome-breton/casperjs-installer": "dev-master" }, "config": { "process-timeout": 5000, "bin-dir": "bin", "component-dir": "vendor/components" }, "repositories": [ { "type": "composer", "url": "https://composer.tiki.org" } ] }

- Open CMD in Windows and type:
cd D:\WEBPATH\
d:
composer update

Repeat last step when you want to update the packages to the last version.

There are no comments at this time.