mirror of
https://github.com/wahyd4/heygo.git
synced 2026-08-08 21:05:48 +10:00
Update dev env
This commit is contained in:
+2
-2
@@ -12,8 +12,8 @@
|
||||
"import:links": "npx tsx scripts/import-links-to-d1.ts",
|
||||
"deploy:dev": "wrangler deploy --config wrangler.dev.jsonc",
|
||||
"deploy:prod": "wrangler deploy --config wrangler.prod.jsonc",
|
||||
"migrate:dev": "wrangler d1 migrations apply heygo-shortlinks-dev --config wrangler.dev.jsonc",
|
||||
"migrate:prod": "wrangler d1 migrations apply heygo-shortlinks --config wrangler.prod.jsonc",
|
||||
"migrate:dev": "wrangler d1 migrations apply heygo-shortlinks-dev --config wrangler.dev.jsonc --remote",
|
||||
"migrate:prod": "wrangler d1 migrations apply heygo-shortlinks --config wrangler.prod.jsonc --remote",
|
||||
"infra:init": "terraform -chdir=terraform init",
|
||||
"infra:plan:dev": "terraform -chdir=terraform plan -var-file=environments/dev.tfvars",
|
||||
"infra:apply:dev": "terraform -chdir=terraform apply -var-file=environments/dev.tfvars",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
environment = "dev"
|
||||
account_id = "" # Fill in your Cloudflare account ID
|
||||
heygo_cc_zone_id = "" # Fill in heygo.cc zone ID
|
||||
private_domain_zone_id = "" # Same as heygo_cc_zone_id (my.dev.heygo.cc is under heygo.cc)
|
||||
account_id = "d39b5aca439164602c01f7af2a58d4bf"
|
||||
heygo_cc_zone_id = "b3f4afb9e9876325ef7ce6824d5ea861"
|
||||
private_domain_zone_id = "b3f4afb9e9876325ef7ce6824d5ea861"
|
||||
public_domain = "dev.heygo.cc"
|
||||
private_domain = "my.dev.heygo.cc"
|
||||
d1_database_name = "heygo-shortlinks-dev"
|
||||
|
||||
+12
-2
@@ -6,6 +6,16 @@
|
||||
"assets": {
|
||||
"directory": "./dist/client"
|
||||
},
|
||||
"routes": [
|
||||
{
|
||||
"pattern": "dev.heygo.cc",
|
||||
"custom_domain": true
|
||||
},
|
||||
{
|
||||
"pattern": "my.dev.heygo.cc",
|
||||
"custom_domain": true
|
||||
}
|
||||
],
|
||||
"observability": {
|
||||
"enabled": true
|
||||
},
|
||||
@@ -19,14 +29,14 @@
|
||||
{
|
||||
"binding": "DB",
|
||||
"database_name": "heygo-shortlinks-dev",
|
||||
"database_id": "00000000-0000-0000-0000-000000000000",
|
||||
"database_id": "e25529ec-e492-4a84-94a1-f6012c2f9b10",
|
||||
"migrations_dir": "migrations"
|
||||
}
|
||||
],
|
||||
"kv_namespaces": [
|
||||
{
|
||||
"binding": "PUBLIC_LINK_CACHE",
|
||||
"id": "00000000-0000-0000-0000-000000000000"
|
||||
"id": "953fa8aa0a51485889d9a246512b30dc"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user