Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: setup wrangler #220

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions wrangler.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
### Wrangler Install

```
npm i @cloudflare/wrangler -g
```


### Setup wrangler.toml
Setup properly for your cloudflare environment
```
name = "fruitionsite"
type = "javascript"

account_id = "327bf887743064e5f494d98140f02f3d"
workers_dev = true
route = "fruitionsite.com/*"
zone_id = "70c07fd95414f54325a5d15b5b3467b8"
compatibility_date = "2022-12-11"
```


### Authorize Wrangler with your Cloudflare login
```
wrangler login
```


### 🎉 Publish your Worker to Cloudflare
```
wrangler publish
```
8 changes: 8 additions & 0 deletions wrangler.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name = "fruitionsite"
type = "javascript"

account_id = "327bf887743064e5f494d98140f02f3d"
workers_dev = true
route = "fruitionsite.com/*"
zone_id = "70c07fd95414f54325a5d15b5b3467b8"
compatibility_date = "2022-12-11"