[GH-ISSUE #716] python manage.py bower install => Unknown command: 'bower' #661

Closed
opened 2026-02-27 11:12:54 +03:00 by kerem · 7 comments
Owner

Originally created by @harobed on GitHub (Apr 29, 2015).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/716

I've installed

~/vtenv/bin/pip install -r dev-requirements.txt

and I've :

~/vtenv/bin/python manage.py bower install
Unknown command: 'bower'
Type 'manage.py help' for usage.

any explanation ?

Originally created by @harobed on GitHub (Apr 29, 2015). Original GitHub issue: https://github.com/modoboa/modoboa/issues/716 I've installed ``` ~/vtenv/bin/pip install -r dev-requirements.txt ``` and I've : ``` ~/vtenv/bin/python manage.py bower install Unknown command: 'bower' Type 'manage.py help' for usage. ``` any explanation ?
kerem 2026-02-27 11:12:54 +03:00
Author
Owner

@tonioo commented on GitHub (Apr 29, 2015):

Is bower installed on your server ? (Not only django-bower)

<!-- gh-comment-id:97463610 --> @tonioo commented on GitHub (Apr 29, 2015): Is bower installed on your server ? (Not only django-bower)
Author
Owner

@harobed commented on GitHub (Apr 30, 2015):

Yes :

$ bower --version
1.4.1
$ python manage.py bower install
Unknown command: 'bower'
Type 'manage.py help' for usage.
<!-- gh-comment-id:97706141 --> @harobed commented on GitHub (Apr 30, 2015): Yes : ``` $ bower --version 1.4.1 $ python manage.py bower install Unknown command: 'bower' Type 'manage.py help' for usage. ```
Author
Owner

@tonioo commented on GitHub (Apr 30, 2015):

Did you deploy your modoboa instance using the --devel option ? If you didn't, you need to manually add "djangobower" to the INSTALLED_APPS variable.

<!-- gh-comment-id:97707266 --> @tonioo commented on GitHub (Apr 30, 2015): Did you deploy your modoboa instance using the --devel option ? If you didn't, you need to manually add "djangobower" to the INSTALLED_APPS variable.
Author
Owner

@harobed commented on GitHub (Apr 30, 2015):

Did you deploy your modoboa instance using the --devel option ? If you didn't, you need to manually add "djangobower" to the INSTALLED_APPS variable.

Yes is that.

Sorry it's here in the documentation https://modoboa.readthedocs.org/en/latest/extending/getting_started.html#deploy-an-instance-for-development

What do you think about append FAQ in « Deploy an instance for development » ?
I can append an item FAQ « bower command is missing in manage.py »

<!-- gh-comment-id:97719915 --> @harobed commented on GitHub (Apr 30, 2015): > Did you deploy your modoboa instance using the --devel option ? If you didn't, you need to manually add "djangobower" to the INSTALLED_APPS variable. Yes is that. Sorry it's here in the documentation https://modoboa.readthedocs.org/en/latest/extending/getting_started.html#deploy-an-instance-for-development What do you think about append FAQ in « Deploy an instance for development » ? I can append an item FAQ « bower command is missing in manage.py »
Author
Owner

@tonioo commented on GitHub (Apr 30, 2015):

That's a good idea.

<!-- gh-comment-id:97750444 --> @tonioo commented on GitHub (Apr 30, 2015): That's a good idea.
Author
Owner

@harobed commented on GitHub (Apr 30, 2015):

Did you deploy your modoboa instance using the --devel option ? If you didn't, you need to manually add "djangobower" to the INSTALLED_APPS variable.

--devel option didn't append djangobower in INSTALLED_APPS in settings.py

<!-- gh-comment-id:97786428 --> @harobed commented on GitHub (Apr 30, 2015): > Did you deploy your modoboa instance using the --devel option ? If you didn't, you need to manually add "djangobower" to the INSTALLED_APPS variable. --devel option didn't append djangobower in INSTALLED_APPS in settings.py
Author
Owner

@harobed commented on GitHub (Apr 30, 2015):

"djangobower" missing in https://github.com/tonioo/modoboa/blob/master/modoboa/core/commands/templates/settings.py.tpl

<!-- gh-comment-id:97791175 --> @harobed commented on GitHub (Apr 30, 2015): "djangobower" missing in https://github.com/tonioo/modoboa/blob/master/modoboa/core/commands/templates/settings.py.tpl
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#661
No description provided.