diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-13 22:24:11 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-13 22:24:11 -0800 |
| commit | fff1a7001703fa4907e25e5996b02361059c62b1 (patch) | |
| tree | b55d81e4c80d70d43aa6ee6580f493c75b275091 | |
| parent | 860e1ecb570bda229b6a64fef905923898e0f832 (diff) | |
| download | neko-fff1a7001703fa4907e25e5996b02361059c62b1.tar.gz neko-fff1a7001703fa4907e25e5996b02361059c62b1.tar.bz2 neko-fff1a7001703fa4907e25e5996b02361059c62b1.zip | |
Update README to reflect removal of rice tool and new asset locations
| -rw-r--r-- | README.md | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -95,28 +95,27 @@ Data is persisted in a Docker volume named `neko-data` (mapping to `/app/data/ne ### Build from Source -Neko is designed for easy building. Static assets for the frontends are pre-built and checked into the repository in the `dist/` directory, so a standard Go build is all that's required for most users. +Neko is designed for easy building. Static assets for the frontends are pre-built and checked into the repository in the `web/dist/` directory, so a standard Go build is all that's required for most users. 1. **Standard Build**: ```bash - # Uses existing assets in dist/ + # Uses existing assets in web/dist/ and web/static/ via Go embed make build ``` A `neko` binary will be created in the root directory. 2. **Full Rebuild (including UI)**: - If you modify the React or Vanilla frontends, you'll need to rebuild them and update the embedded assets. This requires Node.js and the `rice` tool. + If you modify the React or Vanilla frontends, you'll need to rebuild them. This requires Node.js. ```bash - # Rebuilds everything: cleans, builds UIs, updates rice-box.go, and builds binary + # Rebuilds everything: cleans, builds UIs, and builds binary make all ``` -3. **Updating Embedded Assets Only**: - If you want to update the Go binary's embedded assets without a full clean: +3. **Updating UI Assets Only**: + If you want to update the frontends without a full clean: ```bash make ui # Rebuild React frontend make vanilla-ui # Update Vanilla assets - make embed # Update the Go-embedded assets (rice-box.go) make build # Build final binary ``` |
