소스 검색

HUE-3535 [doc] Document about modifying static files in production

Romain Rigaux 9 년 전
부모
커밋
6c672e4
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      docs/sdk/sdk.md

+ 10 - 0
docs/sdk/sdk.md

@@ -786,6 +786,16 @@ like this (in your mako template):
     <!-- show a trash icon in a link -->
     <a href="#something"><i class="icon-trash"></i> Trash</a>
 
+Static files
+------------
+
+For better performances, Hue uses the Django staticfiles app. If in production mode, if you edit
+some static files, you would need to run this command or `make apps`. No actions are needed in
+development mode.
+<pre>
+./build/env/bin/hue collectstatic
+</pre>
+
 Adding Interactive Elements to Your UI
 --------------------------------------