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:
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
# Build artifacts
|
# Build artifacts
|
||||||
bookmann/
|
bookhoard/
|
||||||
bookmann.*
|
bookhoard.*
|
||||||
!bookmann/
|
!bookhoard/
|
||||||
|
|
||||||
# Node.js
|
# Node.js
|
||||||
node_modules/
|
node_modules/
|
||||||
|
|||||||
@@ -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.
|
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
|
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.
|
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:
|
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 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.
|
This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ The first user who registers automatically becomes an admin. For additional admi
|
|||||||
|
|
||||||
```sql
|
```sql
|
||||||
-- Connect to database
|
-- 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
|
-- Promote user to admin
|
||||||
UPDATE users SET role = 'admin' WHERE email = 'user@example.com';
|
UPDATE users SET role = 'admin' WHERE email = 'user@example.com';
|
||||||
|
|||||||
+6
-6
@@ -1,6 +1,6 @@
|
|||||||
# 🛠️ Troubleshooting Guide
|
# 🛠️ 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
|
## ⚠️ Potential Issues & Solutions
|
||||||
|
|
||||||
@@ -62,7 +62,7 @@ SERVER_PORT=8766
|
|||||||
```bash
|
```bash
|
||||||
# Clean database volume and restart:
|
# Clean database volume and restart:
|
||||||
docker compose down -v
|
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
|
docker compose up -d
|
||||||
|
|
||||||
# Check database logs for errors:
|
# Check database logs for errors:
|
||||||
@@ -113,7 +113,7 @@ FROM golang:1.25-alpine AS builder
|
|||||||
docker compose ps
|
docker compose ps
|
||||||
|
|
||||||
# Test database connection:
|
# 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:
|
# Test API endpoint:
|
||||||
curl -s http://localhost:8765/api/libraries/visible
|
curl -s http://localhost:8765/api/libraries/visible
|
||||||
@@ -130,7 +130,7 @@ curl -s http://SERVER_IP:8765/api/libraries/visible
|
|||||||
docker compose ps
|
docker compose ps
|
||||||
|
|
||||||
# Test database connection
|
# 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
|
# Test API endpoint
|
||||||
curl -s http://localhost:8765/api/libraries/visible
|
curl -s http://localhost:8765/api/libraries/visible
|
||||||
@@ -143,7 +143,7 @@ docker compose logs app
|
|||||||
```bash
|
```bash
|
||||||
# 1. Clone repository
|
# 1. Clone repository
|
||||||
git clone <repository-url>
|
git clone <repository-url>
|
||||||
cd bookmann
|
cd bookhoard
|
||||||
|
|
||||||
# 2. Set up environment
|
# 2. Set up environment
|
||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
@@ -190,7 +190,7 @@ docker compose logs -f app
|
|||||||
### Check Database Schema:
|
### Check Database Schema:
|
||||||
```bash
|
```bash
|
||||||
# Connect to database:
|
# Connect to database:
|
||||||
docker compose exec db psql -U postgres -d bookmann
|
docker compose exec db psql -U postgres -d bookhoard
|
||||||
|
|
||||||
# List tables:
|
# List tables:
|
||||||
\dt
|
\dt
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "bookmann",
|
"name": "bookhoard",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "A self-hosted ebook management system",
|
"description": "A self-hosted ebook management system",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user