initial commit
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
# 洛星瓷歌单
|
||||
|
||||
Blazor Server-style song list site for 洛星瓷, built with .NET 10, MudBlazor, EF Core, and PostgreSQL.
|
||||
|
||||
## Local Setup
|
||||
|
||||
The sandbox home directory is read-only for .NET first-run files, so local commands here use:
|
||||
|
||||
```bash
|
||||
DOTNET_CLI_HOME=/tmp/dotnet-home
|
||||
```
|
||||
|
||||
Database created during implementation:
|
||||
|
||||
- database: `lxc_songlist`
|
||||
- role: `lxc_songlist`
|
||||
- development password: `change-me`
|
||||
|
||||
Apply migrations:
|
||||
|
||||
```bash
|
||||
DOTNET_CLI_HOME=/tmp/dotnet-home dotnet ef database update
|
||||
```
|
||||
|
||||
Run locally:
|
||||
|
||||
```bash
|
||||
DOTNET_CLI_HOME=/tmp/dotnet-home ASPNETCORE_ENVIRONMENT=Development dotnet run --urls http://127.0.0.1:5000
|
||||
```
|
||||
|
||||
Development admin login:
|
||||
|
||||
- URL: `/admin/login`
|
||||
- password: `lxc-admin`
|
||||
|
||||
For production, set `Admin:PasswordHash` or `Admin:Password` and `ConnectionStrings:DefaultConnection` outside source control.
|
||||
|
||||
## Current Features
|
||||
|
||||
- Chinese-first public song search page.
|
||||
- Empty PostgreSQL-backed catalog ready for import.
|
||||
- Song title and tag search.
|
||||
- Copyable request text, defaulting to `点歌《{title}》`.
|
||||
- Instant viewer-added tags.
|
||||
- Single-admin song and tag management.
|
||||
- Star porcelain MudBlazor theme with responsive desktop/mobile layout.
|
||||
Reference in New Issue
Block a user