-
Notifications
You must be signed in to change notification settings - Fork 984
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: rebrand Layer0 to Edgio (#2068)
- Loading branch information
Rishi Raj Jain
authored
Jan 8, 2023
1 parent
1a3c6d7
commit 2b7875f
Showing
2 changed files
with
51 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
+++ | ||
title = "Edgio" | ||
weight = 50 | ||
+++ | ||
|
||
If you don't have an account with Edgio, you can sign up [here](https://app.layer0.co/signup). | ||
|
||
## Manual deploys | ||
|
||
For a command-line manual deploy, follow these steps: | ||
|
||
1. Install the Edgio CLI: | ||
|
||
```bash | ||
npm i -g @edgio/cli | ||
``` | ||
|
||
2. Create a package.json at the root of your project with the following: | ||
|
||
```bash | ||
npm init -y | ||
``` | ||
|
||
3. Initialize your project with: | ||
|
||
```bash | ||
edgio init | ||
``` | ||
|
||
4. 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') | ||
``` | ||
|
||
5. Build your zola app: | ||
|
||
```bash | ||
zola build | ||
``` | ||
|
||
6. Deploy! | ||
|
||
```bash | ||
edgio deploy | ||
``` |
This file was deleted.
Oops, something went wrong.