Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

아카이브 봇 백엔드에요.

NotificationsYou must be signed in to change notification settings

yourssu/archive-bot-backend

Repository files navigation

  • Node, Hono
  • Cloudflare D1 (SQLite), Cloudflare Workers, AWS S3

실행

1. 패키지 설치

corepack enablepnpm ipnpm dev

2. wrangler.toml 파일 설정

프로젝트에서 실행할 wrangler 환경을 설정해요.유어슈 Vault를 참고해주세요.

3. 로컬 DB 생성

drizzle/migrations 경로에서 가장 최신 마이그레이션 파일로 로컬에 DB를 만들어주세요.

pnpm migrate:local <최신_마이그레이션_파일_경로>

스키마 업데이트

src/db/schema.ts 변경 후, 아래 방법으로 마이그레이션 파일을 생성해주세요.

pnpm db:gen

로컬 DB 마이그레이션

pnpm migrate:local

프로덕션 DB 마이그레이션

필요시에만 사용해주세요.

pnpm migrate:remote

Workers 배포

pnpm run deploy

About

아카이브 봇 백엔드에요.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp