Skip to content

Commit f78f838

Browse files
docs: update run.md to remove incorrect projectId command (#1077)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
1 parent a415260 commit f78f838

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

docs/run.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,13 @@ To use `clasp run`, you need to complete 5 steps:
2424
1. Add a `projectId` to your `.clasp.json`. You can find your Project ID via:
2525
- [Create a GCP project](https://cloud.google.com/resource-manager/docs/creating-managing-projects)
2626
- Record the `Project ID` and `Project number`. (Example: `my-sample-project-191923.` and `314053285323`)
27-
- Run the command with your `Project ID`: `clasp setting projectId <PROJECT_ID>`
27+
- Manually add the `Project ID` to your `.clasp.json` file.
28+
```json
29+
{
30+
"scriptId": "...",
31+
"projectId": "my-sample-project-191923"
32+
}
33+
```
2834
1. Set the `projectId` to your Apps Script project
2935
- Open `https://console.developers.google.com/apis/credentials/consent?project=[PROJECT_ID]`
3036
- Set `Application name` to `clasp project` and click `save`.

0 commit comments

Comments
 (0)