refactor: rename project back from shelf to bookmann
- Change Go module name back from 'shelf' to 'bookmann' - Update all import paths back to 'bookmann' module - Update README.md project name back to 'Bookmann' - Update docker-compose.yml container names back to 'bookmann' and 'bookmann_db' - Regenerate database code with restored module imports
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# 📚 Shelf
|
||||
# 📚 Bookmann
|
||||
|
||||
A self-hosted ebook management system built with Go, PostgreSQL, HTMX, and Tailwind CSS featuring multiple beautiful dark themes with Tokyo Night as default. Smart folder scanning with real-time monitoring and rich EPUB metadata extraction.
|
||||
A self-hosted ebook management system built with Go, PostgreSQL, HTMX, and Tailwind CSS (fully integrated into a single service) featuring multiple beautiful dark themes with Tokyo Night as default.
|
||||
|
||||
## ✨ Features
|
||||
|
||||
@@ -35,7 +35,7 @@ A self-hosted ebook management system built with Go, PostgreSQL, HTMX, and Tailw
|
||||
docker-compose up --build
|
||||
```
|
||||
|
||||
3. Access Shelf at http://localhost:8765
|
||||
3. Access the application at http://localhost:8765
|
||||
|
||||
### Database
|
||||
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@ version: "3.8"
|
||||
services:
|
||||
db:
|
||||
image: postgres:15-alpine
|
||||
container_name: shelf_db
|
||||
container_name: bookmann_db
|
||||
environment:
|
||||
POSTGRES_DB: ebookdb
|
||||
POSTGRES_USER: postgres
|
||||
@@ -25,7 +25,7 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile
|
||||
container_name: shelf
|
||||
container_name: bookmann
|
||||
environment:
|
||||
DATABASE_HOST: db
|
||||
DATABASE_PORT: 5432
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package handlers
|
||||
|
||||
import (
|
||||
"shelf/internal/database"
|
||||
"bookmann/internal/database"
|
||||
"fmt"
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package handlers
|
||||
|
||||
import (
|
||||
"shelf/internal/database"
|
||||
"shelf/internal/services"
|
||||
"bookmann/internal/database"
|
||||
"bookmann/internal/services"
|
||||
"context"
|
||||
"net/http"
|
||||
"strconv"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package services
|
||||
|
||||
import (
|
||||
"shelf/internal/database"
|
||||
"bookmann/internal/database"
|
||||
"context"
|
||||
"fmt"
|
||||
"io/fs"
|
||||
|
||||
Reference in New Issue
Block a user