-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from radical-data/tiles-in-repo
Integrate tile deployment in repo and accept wildcards for allowed origins
- Loading branch information
Showing
8 changed files
with
2,553 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dist | ||
wrangler.toml | ||
node_modules | ||
.wrangler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Protomaps on Cloudflare | ||
|
||
See installation and configuration instructions at [Protomaps Docs: Deploy on Cloudflare](https://protomaps.com/docs/cdn/cloudflare) | ||
|
||
## Development | ||
|
||
### Web Console (basic) | ||
|
||
Generate the Workers script using `npm run build` and copy `dist/index.js` to the editor. | ||
|
||
### Wrangler (advanced) | ||
|
||
The `preview_bucket_name` value in `wrangler.toml` should be changed to your bucket used for development. | ||
|
||
Run `npm run start` to serve your Worker at http://localhost:8787. The cache will not be active in development. |
Oops, something went wrong.