# app.yaml 또는 로컬 디바이스에서 테마 컴포넌트를 설치하는 방법?

**URL:** https://meta.discourse.org/t/how-to-install-theme-component-with-app-yaml-or-from-local-device/226093
**Category:** Support
**Created:** [5월 4, 2022, 10:53오전 UTC](https://meta.discourse.org/t/how-to-install-theme-component-with-app-yaml-or-from-local-device/226093 "2022-05-04T10:53:16Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [5월 4, 2022, 4:39오후 UTC](https://meta.discourse.org/t/how-to-install-theme-component-with-app-yaml-or-from-local-device/226093/5 "2022-05-04T16:39:27Z")

</div>

> [@Yaoqi\_Yan](#):
>
> 아래의 app.yaml 설정으로 테마 컴포넌트(예: discoTOC)를 설치할 수 있나요?

이와 관련된 가이드가 있습니다. 다음을 참고하세요:

> [@테마를 프로그래매틱으로 설치하기](https://meta.discourse.org/t/installing-a-theme-programatically/191843?u=falco):
>
> 앱의 app.yml을 통해 테마를 설치하려면 다음 형식을 사용하세요: run: - exec: echo "Beginning of custom commands" - file: path: /tmp/mythemes.yml contents: | discourse-gifs: url: https://github.com/discourse/discourse-gifs.git add\_to\_all\_themes: true - exec: cd: $home cmd: su discourse -c 'bundle exec rake themes:install \< /tmp/mythemes.yml' - exec: echo "End of custom commands" YAML 형식 옵션 YAML 파일은 짧은 형식(URL만 포함)과 추가 옵션이 포함된 긴 형식을 지원합니다: # 짧은 형식 - URL만 포함 …

---

_[View the full topic](https://meta.discourse.org/t/how-to-install-theme-component-with-app-yaml-or-from-local-device/226093)._
