Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #19

Merged
merged 1 commit into from
Dec 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,38 @@

![overview](https://github.com/user-attachments/assets/8280c513-2444-4699-b65d-02fd5a757073)

## 開発サーバーの起動

```sh
bun i
bun dev
```

## セルフホスティング

### 環境変数

`.env.example`を参考に環境変数を用意して下さい。

権限の問題で組織のリポジトリやプライベートリポジトリにアクセスを許可できない場合は、`GITHUB_TOKEN`にトークンを設定してくれたら見れると思います。
```ts
GITHUB_ENV="ghp_..."
```

### デプロイ

以下のコマンドで `Cloudflare Pages`にデプロイ可能です。
```sh
bun run deploy
```
2回目以降はワークフローで動かすことも可能です
その場合は以下をリポジトリシークレットに追加してください

```sh
CLOUDFLARE_PROJECT_NAME
CLOUDFLARE_ACCOUNT_ID
CLOUDFLARE_API_TOKEN
```

## 記事
https://zenn.dev/namidapoo/articles/dev-recap-2024
Loading