diff options
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 |