File tree Expand file tree Collapse file tree 3 files changed +14
-3
lines changed
Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 1+ web : cd packages/web; bun dev
2+ server : cd packages/server; bun dev
Original file line number Diff line number Diff line change 11## セットアップ
22
3- リポジトリをクローンした後、必要なパッケージをインストールする必要があります。
4- リポジトリのルートディレクトリで以下のコマンドを実行してください。
3+ 1 . 以下のパッケージをインストールしてください。
4+
5+ - Bun >= v1.2
6+ - Hivemind (optional)
7+
8+ 2 . 以下のコマンドを実行してください。
59
610``` bash
711bun install --frozen-lockfile
812```
913
14+ 3 . ` .env ` を作成し、クレデンシャルを埋めてください。
15+
1016## 開発
1117
1218``` bash
13- # データベースを作成するには、 `.env` で `DATABASE_URL` を設定し、以下のコマンドを実行してください。
19+ # データベースを作成/更新する
1420bun db push
1521```
1622
1723``` bash
1824# 開発モードを実行するには、以下のコマンドを実行してください。
1925# $BASE_URL に Vite サーバーが立ち上がるので、そこで確認してください。
2026bun dev
27+ # 同じコマンドを実行するが、出力が見やすい:
28+ hivemind
2129
2230# Storybookの使用
2331# localhost:6006 にStorybookが立ち上がるので、そこでUIを確認してください。
Original file line number Diff line number Diff line change @@ -3,5 +3,6 @@ pkgs.mkShell {
33 packages = with pkgs ; [
44 nodejs-slim
55 bun
6+ hivemind
67 ] ;
78}
You can’t perform that action at this time.
0 commit comments