Devtools plugin

Hello,
I’m new with this awesome cms.
I installed GRAV cms on my NAS in a Virtual Host, and all works
Now i will make my own theme an installed the devtools plugin

After that connect my NAS via SSH an dgo to the root of the GRAV website.

Follow the tutorial and type:

$ bin/plugin devtools portello

But it gives an error:

env: can't execute 'php': No such file or directory

Is there another way for building a custom base theme?

Please read the Grav Command Line Intro and check whether PHP is available as a command line tool. If not, you could try to enable or install it on your NAS.

Hi @bleuzinn,
Thanks for the help. Follow the ‘Command Line Intro’ and this wordks now on Windows.

choll@DESKTOP-HERHSB7 c:\xampp\htdocs\gravcms
# php -v
PHP 7.1.4 (cli) (built: Apr 11 2017 20:08:12) ( ZTS MSVC14 (Visual C++ 2015) x86 )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies

I try now config this on my QNAP NAS.

Hi, i found php on my NAS:

[ctuxboy@TUXYSERVER gravcms]$ /mnt/ext/opt/apache/bin/php -v
PHP 5.6.30 (cli) (built: May 16 2017 04:50:12)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies

But can’t execute the GRAV CLI commands:

[ctuxboy@TUXYSERVER gravcms]$ /mnt/ext/opt/apache/bin/php bin/plugins install devtools
Could not open input file: bin/plugins
[ctuxboy@TUXYSERVER gravcms]$

i don’t know what i’m doing wrong :frowning:

Hi guys,
Very stupid!
It was my own fault!
it is not plugins but plugin without s
So now it worked!!!

My fisrt grav theme