krzysiekpiasecki / Gentelella

Welcome to Gentelella - Responsive Bootstrap Admin Application based on the Foundation of Symfony and Gentelella!
http://gentelella.herokuapp.com
MIT License
100 stars 54 forks source link

No commands defined in the "server" namespace. #60

Closed kemoc closed 7 years ago

kemoc commented 7 years ago

After install can't start built in server: php bin/console server:run 127.0.0.1:8080 --env=prod

[Symfony\Component\Console\Exception\CommandNotFoundException]
There are no commands defined in the "server" namespace.

to reproduce just make clean install project on branch master. Pozdrawiam

kemoc commented 7 years ago

Found solution Read section "FrameworkBundle". Server has own bundle now. https://github.com/symfony/symfony/blob/master/UPGRADE-3.3.md And one more thing, even fix this problem you instruction generate error in terminal: php bin/console server:run 127.0.0.1:8080 --env=prod

[ERROR] The document root directory must be either passed as first argument of the constructor or through the
"--docroot" input option.

I suggest to replace in INSTALL.md to php bin/console server:run

And please create stable version of this project with INSTALL.md, *.md, when i checkouted 2.1.2 i haven't those files inside.

BR

krzysiekpiasecki commented 7 years ago

Can't reproduce. Clean install was successful.

Have you run it?

$ cd /tmp
$ composer create-project krzysiekpiasecki/gentelella gentelella "dev-master"
$ cd gentelella
$ composer setup
$ composer test
$ php bin/console fos:user:create --super-admin
$ php bin/console server:run 127.0.0.1:8080 --env=prod

The problem is that you have updated dependencies. Frozen and stable dependencies are in a lock file because it's an application. The Symfony resolves to: symfony/symfony v3.2.7

This project needs to be updated to fully support v3.3 but in November 2017 there will be a stable release v4.0.

kemoc commented 7 years ago

Yes, works, but i have not check logs files so i do not know if there are problems..

krzysiekpiasecki commented 7 years ago

Has it resolved this issue? If yes, please feel free to close this ticket and thank you very much Radek for your attention.

kemoc commented 7 years ago

You're welcom. Resolved.