Scully is a static site generator for Angular projects. This guide walks you through deploying a Scully site to Edgio.
Example
System Requirements
Sign up for Edgio
Deploying requires an account on Edgio. Sign up here for free.
Install the Edgio CLI
If you have not already done so, install the Edgio CLI.
Bash
1npm i -g @edgio/cli
Create your Scully site
Clone this starter example and install dependencies:
Bash
1git clone https://github.com/edgio-docs/edgio-scully-example2yarn 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
1edgio 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
1edgio build
Run Sites on your local machine:
Bash
1edgio 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
1edgio deploy