Back to Zola

Edgio

docs/content/documentation/deployment/edgio.md

0.22.1767 B
Original Source

+++ 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:
bash
npm i -g @edgio/cli
  1. Create a package.json at the root of your project with the following:
bash
npm init -y
  1. Initialize your project with:
bash
edgio init
  1. Update routes.js at the root of your project to the following:
js
// 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:
bash
zola build
  1. Deploy!
bash
edgio deploy