Web hosting

Before you can publish your experience to MoneyPot, you need to get a public https url for your experience so that it can be iframed by MoneyPot.com.

Fortunately, static file web hosting services have generous free tiers. Below are some of the ones we recommend.

The commands below are not tested. Read the documentation linked in each section for the most up-to-date instructions.

  1. Publish to Netlify (free)
  2. Publish to Vercel (free)
  3. Publish to CloudFlare Pages (free)

Publish to Netlify (free)

Register an account at netlify.com.

Read more: https://docs.netlify.com/api-and-cli-guides/cli-guides/get-started-with-cli/

npm install -g netlify-cli
netlify login

# Run from inside your experience directory
npm run build
netlify deploy --dir=dist --prod

Publish to Vercel (free)

Register an account at vercel.com.

Read more: https://vercel.com/docs/cli

npm install -g vercel
vercel login

# Run from inside your experience directory
npm run build
# TODO: Test the steps and the include them here

Publish to CloudFlare Pages (free)

Register an account at cloudflare.com.

For free, you can create a CloudFlare Worker url like https://{my-experience}.workers.dev and then deploy your experience to it.

Read more: https://developers.cloudflare.com/pages/get-started/direct-upload/

npm install -g wrangler
wrangler login

# Run from inside your experience directory
npm run build
wrangler pages publish dist --project-name=my-experience