Deploy Scully with Vercel

Create a Scully app and deploy it live with Vercel.

Scully is the best way to build the fastest Angular apps. Scully is a static site generator for Angular projects looking to embrace the Jamstack.

Step 1: Set Up Your Scully Project

Set up an Angular app with npx and move into the project directory, selecting Angular routing and the CSS framework of your choice:

npx -p @angular/cli@next ng new my-scully-project && cd my-scully-project

Initializing an Angular app with npx and moving into the project directory.

Add the @scully/init package to the project:

ng add @scullyio/init

Adding the @scully/init package to the project.

Next, use the ng generate command to initialize the blog module:

ng generate @scullyio/init:blog

Initializing the Scully blog module.

Then, use the ng generate command to initialize the post module:

ng generate @scullyio/init:post

Initializing the Scully post module.

Step 2: Deploying Your Scully App with Vercel

There are two ways to deploy with Vercel. We recommend using a Vercel for Git Integration for ease-of-use. Alternatively, Vercel CLI can be used to generate a manual Preview Deployment.

Once deployed, you will get a URL to see your app live, such as the following:

To deploy your Scully app with a Vercel for Git Integration, make sure it has been pushed to a Git repository.

Import the project into Vercel using your Git Integration of choice:

After your project has been imported, all subsequent pushes to branches will generate Preview Deployments, and all changes made to the default branch (commonly "master") will result in a Production Deployment.

Set up a Scully app with a few clicks using the Deploy button, and create a Git repository for it in the process for automatic deployments for your updates.

Written By
Written by mcsdevmcsdev