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 코드를 사용해보고 싶습니다:
어떻게 진행해야 할까요? 코드를 수동으로 복사해야 하나요?
에셋 파이프라인 문서를 찾았나요?
와, 이 주제는 오래됐지만 @eviltrout 님이 지난 몇 달 동안 Ember CLI로 이전하는 작업을 진행 중이에요 – 정말 큰 프로젝트입니다!
네, 우리의 Ember 애플리케이션은 이 시점에서 꽤 오래되었고, 일부 오래된 습관에서 완전히 벗어나지 못했습니다. 또한 수백 개의 플러그인과 테마를 가지고 있는데, 업그레이드 과정에서 이들이 깨지지 않도록 해야 하므로 업그레이드 속도가 더 느립니다.
그래도 곧 상당한 진전을 이룰 수 있을 것 같습니다!