Installing API module from CLI
I installed 'i-doit - 1.8.3 OPEN' under Debian and it's working fine, but I am trying to install API module automatically. I have 2 questions:
1. Is it possible to install API module from CLI, no UI intervention? (Maybe copying sources inside src/classes/modules/api is enough?)
2. I was following this tutorial: https://kb.i-doit.com/display/en/Add-ons - and I was not able to find 'Modules' tab in UI. Is there some feature that I am missing or is not turned on?
an automatic install is not possible atm.
Are you in the admin center? (See screenshots)
Thank you for your response, I am using admin center, but I don't have the menu like this, see the screenshots.
its in the Admin Center which is a seperate Area. On the login screen there is a small link which says "Admin Center". You can optioanlly navigate to it by adding "/admin" to the i-doit URL (e.g. http://demo.i-doit.com/admin). The login data is set upon installation or can be manually changed in the file src/config.inc.php.
Right, didn't realise it was separate section, now I see the modules section.
Thank you for your support.
There is a little feature within the Admin Center that let you install add-ons via CLI. On a shell change to the installation directory of i-doit, for example "/var/www/html". There is a sub-directory called "admin" with a file called "index.php". With the following command it gives you a short help:
/var/www/html/admin/$ php index.php Usage: php index.php -a installModule -f modulefile.zip [-i mandatorID]
I hope it helps.