Edgio

Scully

Scully is a static site generator for Angular projects. This guide walks you through deploying a Scully site to Edgio.

Example

Prerequisites

Setup requires:

Install the Edgio CLI

If you have not already done so, install the Edgio CLI.
Bash
1npm i -g @layer0/cli@latest

Create your Scully site

Clone this starter example and install dependencies:
Bash
1git clone https://github.com/layer0-docs/layer0-scully-example
2yarn install

Run the Scully app locally on Edgio

Test your app with the Sites on your local machine by running the following command in your project’s root directory:
Bash
10 dev
Load the site http://127.0.0.1:3000
This will listen to any changes inside the folder src, with live reloads!

Run the Scully app in local production on the Sites

Create a production build using:
Bash
10 build
Run Sites on your local machine:
Bash
10 run --production
Load the site http://127.0.0.1:3000

Deploying

Deploy your app to the Sites by running the following command in your project’s root directory:
Bash
10 deploy