Skip to main content

how-to-test-on-cloudflare

How to test on Cloudflare​

  1. Go to /lib/cloudflare/powr-cloudflare-local
  2. Start your server without https
  3. Start ngrok / localtunnel
  4. Replace install.json and app.js urls with ngrok/localtunnel urls. And make sure you have a FormBuilder's alias app_detail on your localdatabase with these details.
:app_type => "cloudflareLocal",
:common_name => "Cloudflare Local",
:slug => "cloudflare-local",
  1. Go to https://cloudflare.com/apps
  2. Login with Lastpass.
  3. Within Dashboard, Find Cloudflare Local App > Configure
  4. Click on Code Tab and upload updated app code from your local environment.
  5. Save as draft.
  6. Go back to dashboard > Cloudflare Local > View > Preview on your site.
  7. Open POWr Editor on left hand side.