Skip to main content
You can now create and deplopy Appwrite Sites and Appwrite Functions directly from your repositories that are hosted on Entire. You can connect Entire as the Git provider for an Appwrite project in two ways:
  • From project settings: Create a project in the Appwrite console if you don’t have one already. Then open Project settings, scroll down to Git configuration, and choose Entire as your Git provider.
    Appwrite project settings with Connect to Entire highlighted under Git configuration
  • From the creation flow: Connect Entire while you create a Site or Function. You can do this at any time, even if your project already has Sites or Functions.
    Appwrite Create site flow with Connect Entire highlighted under Import repository
Then authorize Appwrite to be installed in your repositories on Entire. The Entire projects and organizations you can access then show up as owners in the repository picker. If you want to give Appwrite access to more repositories later, you can add them from Project settings at any time.

Create an Appwrite Site From Your Repository on Entire

  1. Open Sites from the left sidebar and select Create site.
  2. Choose Connect your repository, then connect to Entire.
  3. Pick the owner, and select your repository. Repositories use the same path as entire repo view. For example, a repository named teatime in the afternoontea project appears as /et/afternoontea/teatime.
  4. Set your production branch, root directory, and framework. Appwrite detects common frameworks and fills in the build command and output directory for you.
  5. Add any environment variables, pick a domain, and select Deploy.
The process stays the same if you are deploying a template site.
After that, deployments run on their own:
  • Push to your production branch and Appwrite builds a new deployment and activates it on your production domain.
  • Push to any other branch and Appwrite builds a new deployment. Every deployment gets its own preview domain, which only members of your Appwrite project can open.
You can also set up a branch that sits between production and preview with a branch-based domain. Every push to that branch goes live on its domain.

Create an Appwrite Function From Your Repository on Entire

Functions work the same way. Once Entire is connected to your project, you can start from a template or from scratch.
  1. Open Functions from the left sidebar and select Create function, or browse the templates. This example uses the Generate PDF template.
  2. Connect from Connect your repository select Entire as the provider and choose your repository.
  3. Select Deploy.
After that:
  • Every push to your production branch ships a new version of your function.
  • Every push to any other branch builds a preview deployment. Appwrite reports the build result back to Entire, so a failed build shows up as a red cross, which is a sign you might not want to merge that trail yet.