You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
npmrun 707252eb2f feat(media): grace expiry column; widen orphans page; align toolbar 8 hours ago
.vscode feat: integrate Nuxt UI, add Tailwind CSS support, and restructure app layout 3 days ago
.agents/skills/frontend-design feat(frontend-design): add new skill for creating high-quality frontend interfaces 14 hours ago
app feat(media): grace expiry column; widen orphans page; align toolbar 8 hours ago
build-files docs(readme): update deployment instructions and clarify development setup 14 hours ago
docs/superpowers docs(plan): post media assets implementation plan 9 hours ago
packages feat(db): media_assets and post_media_refs for post media 9 hours ago
public init 1 week ago
scripts refactor: migrate database from PostgreSQL to SQLite and update related configurations 2 days ago
server feat(media): grace expiry column; widen orphans page; align toolbar 8 hours ago
skills feat(frontend-design): add new skill for creating high-quality frontend interfaces 14 hours ago
.env.example feat(db): update SQLite configuration and seeding process 16 hours ago
.gitignore feat: add username-password auth flow 2 days ago
README.md feat(frontend-design): add new skill for creating high-quality frontend interfaces 14 hours ago
bun.lock feat(upload): require auth, sharp webp pipeline, media_assets row 9 hours ago
nuxt.config.ts feat(nitro): scheduled media orphan sweep task 8 hours ago
package.json feat(upload): require auth, sharp webp pipeline, media_assets row 9 hours ago
skills-lock.json feat(frontend-design): add new skill for creating high-quality frontend interfaces 14 hours ago
tsconfig.json init 1 week ago

README.md

需求

  • 最好用linux开发,window可以用wsl

文档

提醒

用 Linux 开发与部署,包管理器采用 bun@1.3.11。数据库为 postgres(通过 DATABASE_URL 连接;本地可参考 .env.example 复制为 .env.local)。部署时可直接打包 .output 目录,在服务器环境执行迁移命令,省时省力。

部署

提供最简单的部署方式:

  1. bun run build
  2. 进入.output文件夹
  3. 编辑.env环境变量
  4. sh run.sh 不采用重量级的docker,可以直接打包.output到服务器部署。