Преглед на файлове

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

Romain Rigaux преди 9 години
родител
ревизия
6c672e4b47
променени са 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
 --------------------------------------