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.