Skip to content
Skip to content
PGB Learn

Deploy, export and share your work

Before you deploy

Check the Problems list in the editor is clear and the Preview looks right on Phone size, Tablet size and Desktop size. You also need a PGBHub project to host the site in, and permission to manage it. If you do not have one, create it in the PGBHub console first.

Deploy

  1. In the editor, choose Deploy.
  2. In Deploy your app, enter the PGBHub project (name or ID).
  3. Enter a Container name: letters, numbers and dashes. It becomes part of your app's address.
  4. Choose Deploy.

The dialog shows Building your app, then Live with a link to the address. Open it.

If it says "The deploy did not finish", check the Problems list, fix what it shows and choose Deploy again.

Update the live site

Edit, save, then choose Deploy and Deploy again. A redeploy reuses the same address. On your home page the project card shows a Live tag.

What Studio does for you

It packages your files and builds them. If the project has its own build instructions it uses them; otherwise it generates a standard server for a static site. You do not need to write any of that.

Export

If you want your files elsewhere, open More actions and choose Export as zip. Your browser downloads everything in the project.

Publish your project as a template

If you made something other people could reuse, choose More actions, then Publish as a template. A four-step wizard asks for:

  1. Settings: which values in pgb.config.json people may change, with labels and types.
  2. Locked files: which files to protect.
  3. Details: Publisher, Template name, Version, Display name, Summary, Categories, Tags.
  4. Publish: choose Publish template.

Your own project is unchanged. Templates contain code, so a template from an independent publisher is unlisted until PGB reviews it. You can still open it yourself, and the page says "It is not listed publicly yet." The PGB Marketplace Publishing course covers this in depth.

Limits to know

Studio limits how many projects, how much stored data, AI edits per day, deploys per day and live apps your account can have. When you reach one the message tells you which and the numbers. To free room, delete projects you no longer need from Your projects with the bin icon and Delete. That is permanent.

Try it yourself

  1. Deploy your Business Website and open its address.
  2. Change the slogan in Customise, deploy again and refresh the live page.
  3. Export a zip and look at its contents.

Recap

  • Deploy builds your project into a live app inside one of your PGBHub projects.
  • Deploy again updates the same address.
  • Export as zip gives you every file.
  • Publish as a template shares your design through the Marketplace.

Open Access Course

Free

forever
  • 7 structured lessons across 4 modules
  • Interactive knowledge checks with instant feedback
  • Verifiable completion certificate & PDF