Update legal files and build configuration: Bookmann → Bookhoard

Root level changes:
- LICENSE: Update copyright notice to Bookhoard
- .gitignore: Update build artifact patterns
- package.json: Update package name to bookhoard
- TROUBLESHOOTING.md: Update all references and examples
- README.md: Update database connection examples

Part of project rename to Bookhoard.
This commit is contained in:
2026-02-01 16:20:49 -05:00
parent 4e1feca124
commit 547bc6f8f8
5 changed files with 14 additions and 14 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
# Build artifacts
bookmann/
bookmann.*
!bookmann/
bookhoard/
bookhoard.*
!bookhoard/
# Node.js
node_modules/
+2 -2
View File
@@ -208,7 +208,7 @@ If you develop a new program, and you want it to be of the greatest possible use
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.
bookmann
bookhoard
Copyright (C) 2026 john-okeefe
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
@@ -221,7 +221,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:
bookmann Copyright (C) 2026 john-okeefe
bookhoard Copyright (C) 2026 john-okeefe
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
+1 -1
View File
@@ -139,7 +139,7 @@ The first user who registers automatically becomes an admin. For additional admi
```sql
-- Connect to database
docker exec -it bookmann_db psql -U postgres -d bookmann
docker exec -it bookhoard_db psql -U postgres -d bookhoard
-- Promote user to admin
UPDATE users SET role = 'admin' WHERE email = 'user@example.com';
+6 -6
View File
@@ -1,6 +1,6 @@
# 🛠️ Troubleshooting Guide
This guide addresses common issues when deploying and running Bookmann on different environments.
This guide addresses common issues when deploying and running Bookhoard on different environments.
## ⚠️ Potential Issues & Solutions
@@ -62,7 +62,7 @@ SERVER_PORT=8766
```bash
# Clean database volume and restart:
docker compose down -v
docker volume rm bookmann_postgres_data 2>/dev/null
docker volume rm bookhoard_postgres_data 2>/dev/null
docker compose up -d
# Check database logs for errors:
@@ -113,7 +113,7 @@ FROM golang:1.25-alpine AS builder
docker compose ps
# Test database connection:
docker compose exec db psql -U postgres -d bookmann -c "SELECT 1;"
docker compose exec db psql -U postgres -d bookhoard -c "SELECT 1;"
# Test API endpoint:
curl -s http://localhost:8765/api/libraries/visible
@@ -130,7 +130,7 @@ curl -s http://SERVER_IP:8765/api/libraries/visible
docker compose ps
# Test database connection
docker compose exec db psql -U postgres -d bookmann -c "SELECT 1;"
docker compose exec db psql -U postgres -d bookhoard -c "SELECT 1;"
# Test API endpoint
curl -s http://localhost:8765/api/libraries/visible
@@ -143,7 +143,7 @@ docker compose logs app
```bash
# 1. Clone repository
git clone <repository-url>
cd bookmann
cd bookhoard
# 2. Set up environment
cp .env.example .env
@@ -190,7 +190,7 @@ docker compose logs -f app
### Check Database Schema:
```bash
# Connect to database:
docker compose exec db psql -U postgres -d bookmann
docker compose exec db psql -U postgres -d bookhoard
# List tables:
\dt
+1 -1
View File
@@ -1,5 +1,5 @@
{
"name": "bookmann",
"name": "bookhoard",
"version": "1.0.0",
"description": "A self-hosted ebook management system",
"scripts": {