From 547bc6f8f86f49b7805bd4c232eaa8128dc07c98 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Sun, 1 Feb 2026 16:20:49 -0500 Subject: [PATCH] =?UTF-8?q?Update=20legal=20files=20and=20build=20configur?= =?UTF-8?q?ation:=20Bookmann=20=E2=86=92=20Bookhoard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .gitignore | 6 +++--- LICENSE | 6 +++--- README.md | 2 +- TROUBLESHOOTING.md | 12 ++++++------ package.json | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 1b6f323..a1aa564 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ # Build artifacts -bookmann/ -bookmann.* -!bookmann/ +bookhoard/ +bookhoard.* +!bookhoard/ # Node.js node_modules/ diff --git a/LICENSE b/LICENSE index 0086789..5ebe37c 100644 --- a/LICENSE +++ b/LICENSE @@ -208,8 +208,8 @@ 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 - Copyright (C) 2026 john-okeefe + 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. diff --git a/README.md b/README.md index 6befca7..1d906f5 100644 --- a/README.md +++ b/README.md @@ -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'; diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index 89d9755..79227d6 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -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 -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 diff --git a/package.json b/package.json index 5701583..31389a7 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "bookmann", + "name": "bookhoard", "version": "1.0.0", "description": "A self-hosted ebook management system", "scripts": {