Question

i want to use yoeman for codeigniter project. i use generator from this: https://github.com/homerjam/generator-codeigniter

but i have a problem, when i run grunt then appear a notification like below:

Warning: Task "server" not found. Use --force to continue.

Aborted due to warnings.

how to fixed that warning? and how to make libraries (like : /bower_component) to following codeigniter template rule?

Était-ce utile?

La solution

As far as I can tell, that generator doesn't include a server task. This makes sense because grunt-contrib-connect, which is the usual server used in Grunt tasks, isn't of any use for a PHP framework like CodeIgniter because it won't execute PHP. You need to use either the PHP development server (in PHP 5.4 and up, use the -S option), or install a proper web server like Apache.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top