counterscale icon indicating copy to clipboard operation
counterscale copied to clipboard

Deployment docs notes

Open eurica opened this issue 1 year ago • 1 comments

Love it! Just installed and wanted to share the firsthand noob experience with deployment:

  1. "Go to your Cloudflare dashboard and set up a Cloudflare Workers subdomain". I created the "Hello World" worker, hopefully that was the right thing? I believe it was, but there was a warning later on that I was overwriting something.
  2. no notes
  3. "This token needs Account.Account Analytics permissions at a minimum." Should I create a "Read analytics and logs" token or custom with just Account.Account Analytics? (I did the latter, but I assume the former is more future-proofed)
  4. no notes
  5. might be worth mentioning that "If this is your first time using wrangler with Cloudflare, you'll be asked to give it access to make changes to your Cloudflare account."
  6. no notes
  7. I got 2 warnings, the same one as issue 67 as well as "[WARNING] You are about to publish a Workers Service that was last published via the Cloudflare Dashboard. Edits that have been made via the dashboard will be overridden by your local code and config." -- Which I assume is the "Hello World" app I made in step 1.

Otherwise:

  • Deployed locally no problems
  • Deployed to production with no problems.
  • Added to 2nd website no problems.

eurica avatar Apr 15 '24 22:04 eurica

Hey @eurica, thanks for the feedback 🙏

(Sorry, read this via email but forgot to respond here!)

benvinegar avatar Apr 27 '24 21:04 benvinegar

Thanks again @eurica for the comments. The installation process changed dramatically in v3.0.0 – now there's a step-by-step CLI wizard that simplifies much of this (e.g. explains inline what permissions you need). Some of your feedback got rolled into that.

Closing.

benvinegar avatar Mar 25 '25 20:03 benvinegar