Deploy a Gatsby site.
Gatsby is an open-source React framework for creating websites and apps. In this guide, you will create a new Gatsby application and deploy it using Youappz Sitez. You will be using the
gatsby CLI to create a new Gatsby site.
gatsby CLI by running the following command in your terminal:
$ npm install -g gatsby-cli
Creating a new project
With Gatsby installed, you can create a new project using
gatsby new. The
new command accepts a GitHub URL for using an existing template. As an example, use the
gatsby-starter-lumen template by running the following command in your terminal. You can find more in Gatsby's Starters section:
$ gatsby new my-gatsby-site https://github.com/alxshelepenok/gatsby-starter-lumen
Deploying with Youappz Sitez
Deploy your site to Sitez by running the following commands
cd my-gatsby-site appz create -n my-gatsby-site appz deploy -d public
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
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.