Update README
This commit is contained in:
parent
4de1fa1e79
commit
6e891c70d8
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue