aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-02-02 14:04:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-02-02 14:04:06 +0200
commit648b0ee930d02316186603ed1e0e95f96611f1d3 (patch)
treeff5b92e6e0487615e0a360ace3cfba6dfd827c17 /INSTALL
parentdc473b71d550fd6f9cc47ae558ea78452f32a9ad (diff)
Add support for optimizing CSS with SASS
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL15
1 files changed, 13 insertions, 2 deletions
diff --git a/INSTALL b/INSTALL
index 46a94d5..4a0f45f 100644
--- a/INSTALL
+++ b/INSTALL
@@ -205,7 +205,16 @@ $ sudo systemctl restart apache2
To verify, visit the repository root. To troubleshoot, see Apache logs.
-7. Setup Periodic Loader Execution
+7. Optimize CSS
+
+This step is optional and involves optimizing the CSS files used by brep. For
+example, using the sassc(1) command line tool:
+
+$ cd install/share/brep/www/
+$ for i in *.scss; do sassc -s compressed $i `basename -s .scss $i`.css; done
+
+
+8. Setup Periodic Loader Execution
In this guide we will use the systemd user session to periodically run loader
as the brep user. If your installation doesn't use systemd, then a cron job
@@ -243,7 +252,7 @@ If everything looks good, enable the timer to be started at boot time:
$ systemctl --user enable brep-load.timer
-8. Upgrade Procedure
+9. Upgrade Procedure
During upgrade we will stop apache for what should normally be a short period
of time. To ensure that there are no surprises, for production environments it
@@ -296,3 +305,5 @@ Start apache:
$ sudo systemctl start apache2
To verify, visit the repository root. To troubleshoot, see Apache logs.
+
+You may also need to repeat the CSS optimization step above.