Dual Platform Deployment

The Reason

  • Previously, blog backup required writing different code for deployment on different platforms, which was very troublesome to maintain.
  • Blog posts are not a big problem, and the changes are not big.
  • But every time a new tool is added, it is very troublesome to write two sets of code.
  • Therefore, the backup blog has not added the Vertical Earth Pressure on Top of Pipe Jacking Calculator.

The Progress of Large Models

  • I used Cursor when writing before, and the model was Claude sonet 3.5;
  • Now the new model has made great progress in programming ability;
  • The IDE is also better to use, such as the almost free Gemini CLI and the free QWEN CODE;
  • So I spent two days writing a project that can be deployed on both Cloudflare and Deno deploy.

Realize that one set of code can be deployed to two platforms simultaneously

  • At the beginning, I used Kiro. As a result, it drew up a comprehensive plan, and then after a series of operations, it used up the free quota in half a day and only built a framework that could not be used;
  • Then I switched to Gemini CLI. Free is good. I used tens of millions of tokens in a day and a half to build a project that can be deployed locally and on Cloudflare;
  • Then I used QWEN CODE to get the Deno deploy deployment done in half a day.