Deploy a Eleventy site.

Eleventy is a simple static site generator. In this guide, you will create a new Eleventy site and deploy it using YouAppz sitez. You will be using the eleventy CLI to create a new Eleventy site.

Installing Eleventy

Install the eleventy CLI by running the following command in your terminal:

$ npm install -g @11ty/eleventy

Creating a new project

There are a lot of starter projects available on the Eleventy website. As an example, use the eleventy-base-blog project by running the following commands in your terminal:

$ git clone https://github.com/11ty/eleventy-base-blog.git my-blog-name
# Enter the new directory
$ cd my-blog-name
# Install
$ npm install

Deploying with Youappz Sitez

Deploy your site to Sitez by running the following commands

# build the site
npm run build
# deploy to youappz
appz create -n my-blog-name
appz deploy -d _site

In less than 30 seconds your website will be deployed to an https URL on our global CDN.

For the complete guide to deploying your first site to YouAppz Sitez, refer to the Get started guide.

After deploying your site, you will receive a unique subdomain for your project on *.sitez.live. Every time you deploy your Gatsby site, Youappz Sitez will automatically rebuild your project and deploy it. You will also get access to preview deployments on every deploy, so you can preview how changes look to your site before deploying them to production.

Updated at Mon, Jan 24, 2022