Hello,
I am about to start hacking away at discourse, but I am confused how ember is used. Running commands such as ‘ember version’ or ‘ember g ’ give the error ‘ember: No such file or directory’. Do I need to install the ember cli separately?
The discussion revolves around using Ember CLI with Discourse. Initially, drew0101 encountered issues running Ember commands, but sam clarified that Ember CLI is not used for developing Discourse, and instead, Rails should be configured.
drew0101 asked if there was a downside to configuring Rails to use Ember-CLI, to which sam replied that it would be a massive change due to Discourse’s custom asset pipeline.
spirobel inquired about the documentation for the asset pipeline to use Ember code in a plugin. The documentation’s location remains unclear, as andersonmmi also asked for it.
However, codinghorror mentioned that eviltrout is working on getting Discourse up to date with Ember CLI, a challenging task due to the age of the Ember application and the large number of plugins and themes that need to be considered.
Hello,
I am about to start hacking away at discourse, but I am confused how ember is used. Running commands such as ‘ember version’ or ‘ember g ’ give the error ‘ember: No such file or directory’. Do I need to install the ember cli separately?
We do not use Ember CLI to develop Discourse. You need to configure Rails and run it. To make life easier use our docker dev environment. https://github.com/discourse/discourse/tree/master/bin/docker
Is there a downside to configuring Rails to use Ember-CLI?
This would be a GIANT Ginormous change. We have a very custom asset pipeline.
Документирован ли где-нибудь этот конвейер активов? Я хотел бы использовать код Ember, подобный этому, например, в плагине: GitHub - RobbieTheWagner/ember-flatpickr: An Ember addon that wraps the Flatpickr date picker · GitHub Как мне это сделать? Нужно ли мне вручную копировать код?
Вы когда-нибудь находили документацию по конвейеру ресурсов?
Вау, эта тема старая, но @eviltrout последние несколько месяцев работает над тем, чтобы перевести нас на Ember CLI — это большая задача!
Да, наше приложение Ember уже довольно старое, и мы до сих пор не полностью отказались от некоторых старых привычек. Кроме того, его обновление проходит медленнее, так как у нас сотни плагинов и тем, которые мы не хотим сломать в процессе.
Тем не менее, я ожидаю, что скоро смогу добиться хороших результатов!