From dfd1f253307d2f0b67c368102b17acd06b8b6158 Mon Sep 17 00:00:00 2001 From: perennial Date: Thu, 15 Feb 2024 21:57:14 +1100 Subject: [PATCH] Improve development instructions --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c8d3d36..0a24ed5 100644 --- a/README.md +++ b/README.md @@ -38,15 +38,17 @@ currently have guides for Docker and Caddy. - [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) (to install pnpm) - [pnpm](https://pnpm.io/installation) (to install Sass) -- [go](https://go.dev/doc/install) (to build PixivFE and then run in development mode) +- [go](https://go.dev/doc/install) (to run PixivFE in development mode) ```bash -# watch and compile styles with node-sass +# Install Sass globally using pnpm pnpm i -g sass + +# Compile styles using Sass and watch for changes sass --watch views/css -# run in development mode (auto reload templates) -PIXIVFE_DEV=1 ... go run . +# Run in PixivFE in development mode (templates reload automatically) +PIXIVFE_DEV=1 go run . ``` ## Instances