tractr / directus-sync

A CLI tool for synchronizing the schema and configuration of Directus across various environments.
GNU General Public License v3.0
254 stars 10 forks source link
devops directus directus-extension environments

Directus Sync

Directus 11.2.1 Donate Discord

[!IMPORTANT] Documentation: Check the documentation for detailed information. You need to install the required Directus extension directus-extension-sync on your Directus instance to use Directus-Sync. Follow the installation instructions in the directus-extension-sync documentation.

[!NOTE] Donate: If Directus Sync is enhancing your team's productivity in a commercial setting, please consider supporting our project financially. More information in the Donate section.

Overview

Directus Sync is a powerful CLI tool that enables seamless synchronization and versioning of configurations across multiple Directus instances. It addresses the critical need for maintaining consistent setups across development, staging, production, and any number of additional environments.

By facilitating easy configuration transfers between instances and providing version control, Directus Sync streamlines workflows and enhances collaboration for teams managing Directus deployments.

Why use Directus-Sync?

Key features

Installation

To use Directus Sync, you need to install the required Directus extension directus-extension-sync on your Directus instance.

Follow the installation instructions in the directus-extension-sync documentation.

Usage

Basic Commands

Configuration

Create a directus-sync.config.js file in your project root to configure Directus Sync. Example:

module.exports = {
    directusUrl: 'https://your-directus-instance.com',
    directusToken: 'your-access-token',
    dumpPath: './directus-config',
    // Additional options...
};

For detailed configuration options, refer to the full documentation.

Roadmap

We're constantly working to improve Directus Sync. Some features we're considering for future releases:

We value your input! Help shape the future of Directus Sync by sharing your experience and suggestions. Please take a moment to complete our feedback form. Your insights are crucial in guiding our development priorities and ensuring Directus Sync continues to meet your needs.

Contributing

We welcome contributions to Directus Sync! Please check our contribution guidelines for more information on how to get involved.

Donate

For individual developers

If you're a solo developer or using Directus Sync for personal projects, please enjoy the tool without any consideration to donate. There are other ways you can support like starring our repository, share your experience with Directus Sync in your network or provide feedback thanks to our feedback form.

For companies and commercial users

If Directus Sync is enhancing your team's productivity in a commercial setting, please consider supporting our project financially. Your contributions enable us to dedicate more time to feature development, ensure long-term maintenance, and potentially provide priority support. Even small donations can significantly impact our ability to improve and expand the tool. By supporting Directus Sync, you're investing in your team's efficiency and the project's future.

Donate

Support

If you encounter any issues or have questions, please:

  1. Check the documentation for detailed information.
  2. Search existing issues for similar problems.
  3. If you can't find a solution, open a new issue with a detailed description of the problem.