autoload.php file is not included in the repo
oliversl opened this issue · comments
oliversl commented
- moosh version: 1.6
- moodle version: 3.10.11
- database:
- php version: 7.3
- operating system: Centos 7
Actual behaviour
# moosh plugin-list
PHP Warning: require(/opt/moosh/moosh-1.5/vendor/autoload.php): failed to open stream: No such file or directory in /opt/moosh/moosh-1.5/moosh.php on line 24
PHP Fatal error: require(): Failed opening required '/opt/moosh/moosh-1.5/vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /opt/moosh/moosh-1.5/moosh.php on line 24
Expected behaviour
file vendor/autoload.php should exist or should not be required
Steps to reproduce
Download latest release and unzip it
oliversl commented
Following "Installation from Moodle package" instruction from homepage, you need to additionally do:
yum install git
yum install composer
cd mosh-1.5 # (unpacked directory)
composer install
After that you will be able to use moosh