zola/docs/content/documentation/deployment/edgio.md

768 B

+++ title = "Edgio" weight = 50 +++

If you don't have an account with Edgio, you can sign up here.

Manual deploys

For a command-line manual deploy, follow these steps:

  1. Install the Edgio CLI:
npm i -g @edgio/cli
  1. Create a package.json at the root of your project with the following:
npm init -y
  1. Initialize your project with:
edgio init
  1. Update routes.js at the root of your project to the following:
// This file was added by edgio init.
// You should commit this file to source control.

import { Router } from '@edgio/core/router'

export default new Router().static('public')
  1. Build your zola app:
zola build
  1. Deploy!
edgio deploy