Deploy a Nextjs site.
Next.js is an open-source React framework for creating websites and apps. In this guide, you will create a new Next.js application and deploy it using Youappz Sitez.
Creating a new project
Create a new project using
yarn by running either of the following commands in your terminal:
$ npx create-next-app --example with-static-export my-app # or $ yarn create next-app --example with-static-export my-app
After creating your project, a new
my-app directory will be generated using the official
with-static-export example as a template.
Deploying with Youappz Sitez
Deploy your site to Sitez by running the following commands
cd my-app appz create -n my-app appz deploy -d out
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.