Skip to content

Commit 9cbc3b0

Browse files
committed
make server run
1 parent 9eb0f3b commit 9cbc3b0

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,12 @@ serve-all:
9999
serve-web:
100100
cd web; bun run preview # todo: make serve function
101101
serve-server:
102-
@# Read server/README.md for this use of npm.
103102
cd server; bun run serve
104103

105104
watch-web: copy-common-to-web
106105
cd web; bun run dev
107106
watch-server: copy-common-to-server
108-
cd server; npm run dev
107+
cd server; bun run dev
109108

110109
copy-common: copy-common-to-server copy-common-to-web
111110
copy-common-to-server:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ GNU Make が導入されています。以下は、ユーザーが使うこと
2525
- 以下をインストールします:
2626

2727
- Node.js v22
28-
- Bun
28+
- Bun (js)
2929
- GNU Make
30-
- Node Package Manager / npm (optional)
30+
- Node Package Manager / npm
3131
- nvm (optional)
3232

3333
- `make setup` を実行します。

server/src/firebase/init.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { type AppOptions, initializeApp } from "firebase-admin";
1+
import * as firebase from "firebase-admin";
22

3-
const options: AppOptions = {
3+
const options: firebase.AppOptions = {
44
projectId: process.env.FIREBASE_PROJECT_ID,
55
};
66

77
if (!options.projectId)
88
throw new Error("FIREBASE_PROJECT_ID required in server/.env");
99

10-
const app = initializeApp(options);
10+
const app = firebase.initializeApp(options);
1111

1212
export { app };

0 commit comments

Comments
 (0)