app-arm64-v8a-release.apk exceeds 25 MB, you'll need to host it separately (e.g. GitHub Releases, Google Drive) and update the download link in index.html.
1 Install Node.js
Wrangler requires Node.js 18 or newer. Download it from nodejs.org and run the installer. Verify in your terminal:
node --version # Should print v18.x.x or higher npm --version # Should print 9.x.x or higher
2 Install Wrangler
Install the Cloudflare Wrangler CLI globally using npm:
npm install -g wrangler
Confirm it installed correctly:
wrangler --version # Should print: ⛅️ wrangler 3.x.x
3 Log in to Cloudflare
This opens your browser and asks you to authorize Wrangler with your Cloudflare account. Create a free account at dash.cloudflare.com if you don't have one.
wrangler login
4 Navigate to your project folder
Open a terminal and change directory to your website folder:
cd "C:\Users\visha\Desktop\webapp\habit website"
5 Deploy to Cloudflare Pages
Run the deploy command. The . means "deploy the current directory". Your site gets a free .pages.dev URL.
wrangler pages deploy . --project-name habit-tracker
Subsequent deploys: Just run the same command again — it updates instantly.
Live URL: You'll get a URL like
habit-tracker.pages.dev printed in the terminal.
Alternative: Deploy via GitHub (recommended for ongoing updates)
Connect a GitHub repo to Cloudflare Pages for automatic deploys on every push — no terminal needed after setup.
/ (root) and leave build command blank.git push auto-deploys your site.You're live.
Your Habit Tracker website is now deployed globally on Cloudflare's edge network — fast, free, and always on.
Back to website