From 6e891c70d84050b2acb35cb36a30b18c22bfdbc4 Mon Sep 17 00:00:00 2001 From: video-prize-ranch Date: Sat, 10 Jun 2023 12:13:59 -0400 Subject: [PATCH] Update README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 8d0cfc2..5838a47 100644 --- a/README.md +++ b/README.md @@ -192,6 +192,7 @@ services: #### Requirements * Go v1.16 or later +* [Tailwind CLI](https://tailwindcss.com/blog/standalone-cli) Clone the repository and `cd` into it. ```bash @@ -201,6 +202,7 @@ cd rimgo Build rimgo. ```bash +tailwindcss -i static/tailwind.css -o static/app.css -m go build ``` @@ -220,6 +222,12 @@ cp .env.example .env nvim .env ``` +For development, use [air](https://github.com/cosmtrek/air) for live reload and build CSS with [Tailwind CLI](https://tailwindcss.com/blog/standalone-cli): +```bash +air +tailwindcss -i static/tailwind.css -o static/app.css -m -w +``` + ## Configuration rimgo can be configured using environment variables. The path to the .env file can be changed the -c flag.