.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
ANTHROPIC_API_KEY
secret
Anthropic API Key (required for AI Agent)
PORT
Backend server port
NEXT_PUBLIC_API_URL
Backend API URL
NEXT_PUBLIC_WS_URL
WebSocket URL (for Agent communication)
LOG_LEVEL
Log level (DEBUG, INFO, WARNING, ERROR)
brew install flyctl && fly launch --from https://github.com/0xsline/perfect-web-clone
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/0xsline/perfect-web-clone
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/0xsline/perfect-web-clone