Community maintained Directus instance templates to help you jump start your next project. Apply and extract templates with directus-template-cli.
Introduction · 🚧 Using Templates · ❤️ Contributing
A Directus template is a starter kit or boilerplate for a Directus project. But it could be a full blown application – like AgencyOS.
Templates are extracted and applied using the directus-template-cli
command line utility.
Schema / Data Model
Users and Authentication
Flows
Dashboards
Assets
Sample Content / Data
To load or use templates you need a Directus instance. Here's a few ways to go about that.
https://directus.cloud/register
This is the easy button. You don’t have to mess with Docker or working out how to deploy a Directus instance at AWS, Digital Ocean, or similar hosts. A couple of clicks and in less than 2 minutes you’ll have a ready to go Directus project.
OR
If you're prefer to self-host Directus, we highly recommend you do so with Docker. We have several guides on the Directus docs.
Important Note: We (the Directus team) cannot provide support for self-hosted instances WITHOUT an Enterprise Self-Hosted license or formal support agreement. Learn more and contact our team for details on Enterprise Self-Hosted.
PostgreSQL is the tested and preferred database vendor for templates.
You need the static token to seed the project.
Open your terminal, run the following command, and simply follow the prompts.
npx directus-template-cli@latest apply
You can load apply templates from three sources.
You can learn more about the Directus Template CLI tool here.
Note: It can take a few minutes for the template script to run if you’re using a remotely hosted Directus instance.
This is community driven project so we'd love to have your contributions.
You can extract your own templates using:
npx directus-template-cli@latest extract
Here's how you can contribute:
Big shout out to Alex van der Valk (AVDV) for his contributions to this project.