collectstatic with fabric example should use -v0 to speed it up
|Reported by:||Harro||Owned by:||nobody|
|Severity:||Keywords:||staticfiles, collectstatic, fabric|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I found out that using collectstatic through fabric makes for a very slow process.
The reason is that collectstatic by default outputs all the files it's collecting, which fabric has to pipe, which makes it very slow.
The fix is simple: pass a -v0
Also a --noinput should be added because fabric doesn't support the interactivity till 1.0 is released.
I think the documentation should reflect this
Change History (6)
comment:1 Changed 6 years ago by
|Patch needs improvement:||unset|
comment:2 Changed 6 years ago by
|Component:||Contrib apps → Documentation|
|Triage Stage:||Unreviewed → Ready for checkin|