Skip to content

Commit ab6b5f1

Browse files
committed
setup hivemind
1 parent b2db763 commit ab6b5f1

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

Procfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
web: cd packages/web; bun dev
2+
server: cd packages/server; bun dev

docs/developer_readme.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,31 @@
11
## セットアップ
22

3-
リポジトリをクローンした後、必要なパッケージをインストールする必要があります。
4-
リポジトリのルートディレクトリで以下のコマンドを実行してください。
3+
1. 以下のパッケージをインストールしてください。
4+
5+
- Bun >= v1.2
6+
- Hivemind (optional)
7+
8+
2. 以下のコマンドを実行してください。
59

610
```bash
711
bun install --frozen-lockfile
812
```
913

14+
3. `.env` を作成し、クレデンシャルを埋めてください。
15+
1016
## 開発
1117

1218
```bash
13-
# データベースを作成するには、 `.env` で `DATABASE_URL` を設定し、以下のコマンドを実行してください。
19+
# データベースを作成/更新する
1420
bun db push
1521
```
1622

1723
```bash
1824
# 開発モードを実行するには、以下のコマンドを実行してください。
1925
# $BASE_URL に Vite サーバーが立ち上がるので、そこで確認してください。
2026
bun dev
27+
# 同じコマンドを実行するが、出力が見やすい:
28+
hivemind
2129

2230
# Storybookの使用
2331
# localhost:6006 にStorybookが立ち上がるので、そこでUIを確認してください。

shell.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ pkgs.mkShell {
33
packages = with pkgs; [
44
nodejs-slim
55
bun
6+
hivemind
67
];
78
}

0 commit comments

Comments
 (0)