🌀 Executing on remote database web-archive (7fd5a5ce-79e7-4519-a5fb-2f9a3af71064): 🌀 To execute on your local development database, remove the--remote flag from your wrangler command. Note: ifthe execution fails to complete, your DB will returntoits original state and you can safely retry. ├ 🌀 Uploading 7fd5a5ce-79e7-4519-a5fb-2f9a3af71064.0a40ff4fc67b5bdf.sql │ 🌀 Uploading complete. │ 🌀 Starting import... 🌀 Processed 9 queries. 🚣 Executed 9 queries in0.00 seconds (13 rows read, 13 rows written) Database is currently at bookmark 00000001-00000005-00004e2b-c977a6f2726e175274a1c75055c23607. ┌────────────────────────┬───────────┬──────────────┬────────────────────┐ │ Total queries executed │ Rows read │ Rows written │ Database size (MB) │ ├────────────────────────┼───────────┼──────────────┼────────────────────┤ │ 9 │ 13 │ 13 │ 0.04 │ └────────────────────────┴───────────┴──────────────┴────────────────────┘
5. 部署服务
运行如下命令
jboss-cli
1 2
# 部署服务 npx wrangler pages deploy
执行成功会输出如下内容:
livecodeserver
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
The project you specified does not exist: "web-archive". Would you like tocreateit? ❯ Create anew project ✔ Enter the production branch name: … dev ✨ Successfully created the'web-archive' project. ▲ [WARNING] Warning: Your working directory is a git repo and has uncommitted changes
To silence this warning, pass in--commit-dirty=true
🌎 Uploading... (3/3)
✨ Success! Uploaded 3files (3.29sec)
✨ Compiled Worker successfully ✨ Uploading Worker bundle ✨ Uploading _routes.json 🌎 Deploying... ✨ Deployment complete! Take a peek over athttps://web-archive-xxxx.pages.dev