setup devtools

Hi

I follow below guide http://docs.phalconphp.com/en/latest/reference/mactools.html to install devtools

I have under /Applications/MAMP/htdocs/phalcon/tools/ this package : https://github.com/phalcon/phalcon-devtools

Then I have create a simbolic link on /usr/bin/phalcon

but phalcon comand are still not found :(

.profile file have below content:

export PATH=$PATH:/Applications/MAMP/htdocs/phalcon/tools

export PTOOLSPATH=/Applications/MAMP/htdocs/phalcon/tools

any suggestions?

When I point browser to http://localhost:8888/phalcon/tools/webtools.php I got below errors:

Warning: require(webtools.config.php): failed to open stream: No such file or directory in /Applications/MAMP/htdocs/phalcon/tools/webtools.php on line 23

Fatal error: require(): Failed opening required 'webtools.config.php' (include_path='.:/Applications/MAMP/bin/php/php5.5.10/lib/php') in /Applications/MAMP/htdocs/phalcon/tools/webtools.php on line 23

thanks!



9.0k
  1. u can add the directory of phalcon-devtools directory to your php include path.
  2. have you create project with parameters '--enable-webtools' ? eg:
phalcon project project_name --enable-webtools