Scully is a static site generator for Angular projects. This guide walks you through deploying a Scully site to Edgio.
Example
Prerequisites
Setup requires:
- An Edgio account. Sign up for free.
- An Edgio property. Learn how to create a property.
- Node.js. View supported versions and installation steps.
- Edgio CLI.
Install the Edgio CLI
If you have not already done so, install the Edgio CLI.
Bash
1npm i -g @edgio/cli@^6.0.0
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