Skip to content

Commit

Permalink
docs: Update 3.deploy.md (nuxt-hub#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
daleweaver777 authored Mar 1, 2024
1 parent 87e9140 commit 6a7b61b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/content/docs/1.getting-started/3.deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ Once the deployment is done, NuxtHub should be ready to use in your deployed pro

To enable remote storage in your self-hosted project, you need to create a secret key.

1. Set the `NUXT_HUB_PROJECT_SECRET` environment variable in your Cloudflare Pages project settings and retry the last deployment to apply the changes (you can generate a random secret on https://www.uuidgenerator.net/version4)
2. Set the same `NUXT_HUB_PROJECT_SECRET` and `NUXT_HUB_PROJECT_URL` environment variables in your local project
1. Set the `NUXT_HUB_PROJECT_SECRET_KEY` environment variable in your Cloudflare Pages project settings and retry the last deployment to apply the changes (you can generate a random secret on https://www.uuidgenerator.net/version4)
2. Set the same `NUXT_HUB_PROJECT_SECRET_KEY` and `NUXT_HUB_PROJECT_URL` environment variables in your local project

```bash [.env]
NUXT_HUB_PROJECT_SECRET=my-project-secret-used-in-cloudflare-env
NUXT_HUB_PROJECT_SECRET_KEY=my-project-secret-used-in-cloudflare-env
NUXT_HUB_PROJECT_URL=https://my-nuxthub-project.pages.dev
```

Expand Down

0 comments on commit 6a7b61b

Please sign in to comment.