Explorar o código

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

Romain Rigaux %!s(int64=9) %!d(string=hai) anos
pai
achega
6c672e4
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  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
 --------------------------------------