Workbench

Deploy to Test and Production

Deploy to Test and Production

SampleNeeds you

Setting up the Test and Production environments on your own server, with the app on your domain.

Claude Codeยท active now Started 45 min ago Updated 2 min ago
3 of 7 steps

Your turn 4

Claude Code goes on as soon as you answer.

Create a Cloudflare API token
In the Cloudflare dashboard, open My Profile, then API Tokens, and create one that can edit DNS and Cloudflare Tunnel. Then paste it below.
Open

Paste the Cloudflare token

It goes into a file outside the project, which Claude Code uses in its commands without ever seeing it.

Which service should send the app's emails?

The app emails sign-in codes and password resets. You can change this later.

Close the server's SSH port once the tunnel works?

You will still reach the server through the tunnel and through your provider's web console.

Steps

  1. Find the outside services the app needs, and their keysDone
  2. Create the Test and Production environments on GitHubDone
  3. Get a Linux server and share its addressYouDone
  4. Create a Cloudflare API tokenYouIn progress
    dash.cloudflare.com
  5. Install Docker and the GitHub Actions runner on the serverTo do
  6. Serve the app on your domain through a Cloudflare TunnelTo do
  7. Deploy to Test, then to ProductionTo do

Keep in mind

Decision One server for both environments, to keep the cost down.

Activity

  1. Waiting for the Cloudflare token to set up the tunnel.
  2. Signed in to the server with the key you added, and turned password sign-in off.
  3. The server is ready at 203.0.113.24.
  4. Done: Get a Linux server and share its address
  5. The app uses 6 outside services; 3 of them need keys from your own accounts.
Agent is not connected Limited experience