Docs

Quick Start

Sign up and deploy

  1. Sign up (here on roast.io) to create an account
  2. Install the Node.js client: npm install -g roast
  3. cd into your project directory
  4. run roast deploy
  5. the CLI will output the auto-generated roast.io URL

Configure a custom domain (optional)

  1. After signing up and deploying your site
  2. sign in to roast.io, configure a custom domain
  3. Configure a www CNAME in your DNS provider for your your-sites-auto-generated-name.roast.io
  4. Configure an A record and point it at: 35.163.142.120

AJAX (optional)

If you were previously hosting your single page app on the same server you were serving AJAX from, your AJAX probably "just worked", but moving your front-end to a static web host means your AJAX and front-end will be served from different domains. You have 2 options:

  1. either sign in to roast.io and configure a proxy (easy)
  2. or configure CORS on your server