Update README

This commit is contained in:
video-prize-ranch 2023-06-10 12:13:59 -04:00
parent 4de1fa1e79
commit 6e891c70d8
No known key found for this signature in database
1 changed files with 8 additions and 0 deletions

View File

@ -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.