diff options
author | Christian Cleberg <hello@cleberg.net> | 2023-06-01 10:45:47 -0500 |
---|---|---|
committer | Christian Cleberg <hello@cleberg.net> | 2023-06-01 10:45:47 -0500 |
commit | 08a5a5cb7022ba350df3de3ca5cd8c9d9467baad (patch) | |
tree | 52bd16513f8fa733fd30322b17b77856065030d0 /README.md | |
parent | 5c33255b6ad3906c5c4487f29b04283d84275aaf (diff) | |
download | hn-08a5a5cb7022ba350df3de3ca5cd8c9d9467baad.tar.gz hn-08a5a5cb7022ba350df3de3ca5cd8c9d9467baad.tar.bz2 hn-08a5a5cb7022ba350df3de3ca5cd8c9d9467baad.zip |
enhancement: add CSS and minification
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -13,13 +13,14 @@ how to deploy the project on a live system. - A web server (e.g., Nginx or Apache) - PHP +- Optional: [minify](https://github.com/tdewolff/minify/tree/master/cmd/minify) ### Installing Install the dependencies, using the web server of your choice: ``` -sudo apt install nginx-full php +sudo apt install nginx-full php minify ``` Clone the repo: @@ -28,6 +29,13 @@ Clone the repo: git clone https://git.sr.ht/~cmc/hn/ ``` +If you need to minify CSS changes: + +``` +# executed in the top-level `hn` dir +minify -o static/styles.min.css static/styles.css +``` + ## Deployment Deployment is as easy as copying the code to your webroot. No special packages |