You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/1.docs/1.getting-started/3.deploy.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ jobs:
94
94
```
95
95
96
96
You need to add the following secrets to your GitHub repository:
97
-
- `NUXT_HUB_PROJECT_KEY`: Your project key (available in your project settings in the NuxtHub Admin or in your `.env` file if you ran `nuxthub link`)
97
+
- `NUXT_HUB_PROJECT_KEY`: Your project key (available in your project settings in the NuxtHub Admin or in your `.env` file if you ran `npx nuxthub link`)
98
98
- `NUXT_HUB_USER_TOKEN`: Your user token available in **User settings** → **Tokens** in the NuxtHub Admin
Copy file name to clipboardExpand all lines: docs/content/1.docs/1.getting-started/4.remote-storage.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ You should not use the `remote` option in your `nuxt.config` file in production
55
55
::
56
56
57
57
::note
58
-
NuxtHub will use the remote storage from your deployed project **as long as you are logged in with the [NuxtHub CLI](https://github.com/nuxt-hub/cli) and the local project is linked to a NuxtHub project** with `nuxthub link` or `nuxthub deploy`.
58
+
NuxtHub will use the remote storage from your deployed project **as long as you are logged in with the [NuxtHub CLI](https://github.com/nuxt-hub/cli) and the local project is linked to a NuxtHub project** with `npx nuxthub link` or `npx nuxthub deploy`.
Copy file name to clipboardExpand all lines: docs/content/1.docs/1.getting-started/5.server-logs.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Using the [NuxtHub CLI](https://github.com/nuxt-hub/cli), you can access to the
18
18
By default, the CLI will detect based on the current branch the canonical deployment of your project and stream the logs of that deployment in the CLI.
19
19
20
20
```bash [Terminal]
21
-
nuxthub logs
21
+
npx nuxthub logs
22
22
```
23
23
24
24
:nuxt-img{src="/images/landing/nuxthub-cli-server-logs.png"alt="NuxtHub CLI Server Logs"width="915"height="515"data-zoom-src="/images/landing/nuxthub-cli-server-logs.png"class="rounded"}
@@ -28,13 +28,13 @@ nuxthub logs
28
28
To access the logs of the production environment, you can use the `--production` flag.
29
29
30
30
```bash [Terminal]
31
-
nuxthub logs --production
31
+
npx nuxthub logs --production
32
32
```
33
33
34
34
### Preview environment
35
35
36
36
In preview environment, NuxtHub will stream the logs of the latest successful deployment in the CLI.
// Make sure we have a projectUrl when using the remote option
297
297
if(!hub.projectUrl){
298
-
log.error('No project URL defined, make sure to link your project with `nuxthub link` or add the deployed URL as `NUXT_HUB_PROJECT_URL` environment variable (if self-hosted).')
298
+
log.error('No project URL defined, make sure to link your project with `npx nuxthub link` or add the deployed URL as `NUXT_HUB_PROJECT_URL` environment variable (if self-hosted).')
letmessage='Project not found.\nMake sure to deploy the project using `nuxthub deploy` or add the deployed URL as `NUXT_HUB_PROJECT_URL` environment variable.'
317
+
letmessage='Project not found.\nMake sure to deploy the project using `npx nuxthub deploy` or add the deployed URL as `NUXT_HUB_PROJECT_URL` environment variable.'
318
318
if(err.status>=500){
319
319
message='Internal server error'
320
320
}elseif(err.status===401){
321
-
message='Authorization failed.\nMake sure to provide a valid NUXT_HUB_PROJECT_SECRET_KEY or being logged in with `nuxthub login`'
321
+
message='Authorization failed.\nMake sure to provide a valid NUXT_HUB_PROJECT_SECRET_KEY or being logged in with `npx nuxthub login`'
322
322
}
323
323
log.error(`Failed to fetch remote storage: ${message}`)
0 commit comments