[discourse-web/gnome] FEATURE: Run themes:update before assets:precompile (https://github.com/discourse/discourse_docker/c



commit 62e58882c87c22e0f0eaf044c3b47c1f14b2fa34
Author: iposadat <ismael posada trobo cern ch>
Date:   Tue Dec 1 10:12:02 2020 +0100

    FEATURE: Run themes:update before assets:precompile 
(https://github.com/discourse/discourse_docker/commit/308dbfef0331a98142a3c83f91c34106b3b702f9)

 run-discourse.sh | 2 +-
 run-nginx.sh     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/run-discourse.sh b/run-discourse.sh
index f62cfa9..b9fc502 100644
--- a/run-discourse.sh
+++ b/run-discourse.sh
@@ -17,7 +17,7 @@ export_vars=$(python cgroup-limits) ; export $export_vars
 
 export RAILS_ENV="production"
 
-if bundle exec rake assets:precompile;
+if bundle exec rake themes:update assets:precompile;
 then
   echo "--> Running Unicorn ..."
   # Run discourse with Unicorn
diff --git a/run-nginx.sh b/run-nginx.sh
index a68d74b..a382981 100644
--- a/run-nginx.sh
+++ b/run-nginx.sh
@@ -11,7 +11,7 @@ export_vars=$(python cgroup-limits) ; export $export_vars
 export RAILS_ENV="production"
 
 # Precompile assets. If succees, proceed with Nginx.
-if bundle exec rake assets:precompile;
+if bundle exec rake themes:update assets:precompile;
 then
   echo "--> Running nginx ..."
   exec nginx -g "daemon off;"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]