Skip to content

Commit 43cc93d

Browse files
committed
added the build/deploy step
1 parent ba8115c commit 43cc93d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

typescript-getting-started/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ starter project:
3939
1. Create a Firebase Project using the Firebase Developer Console
4040
2. From the command line inside the directory:
4141
`firebase --use add YOUR-PROJECT-NAME`
42-
3. `firebase deploy`
42+
3. `cd functions; npm run deploy`
43+
44+
Note: with TypeScript you need to build the JavaScript files before
45+
deploying, so there's an npm script that does the steps. You can see
46+
that and a few other handy shortcuts in [package.json](functions/package.json)
4347

4448
After the deploy is complete, you will see output with the URL of your
4549
Cloud Function endpoint. You can test the function with curl.

0 commit comments

Comments
 (0)