Skip to content

Commit 2a3c749

Browse files
committed
small changes to readme
1 parent da68dcb commit 2a3c749

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ In your `docker-compose` file we need to add the `schema-sync` so that we can co
5353
```yaml
5454
// docker-compose.yaml
5555
volumes:
56-
- ./schema-sync:/directus/schema-sync
56+
- ./schema-sync:/directus/schema-sync
5757
```
5858
5959
(re)Build and run your container.
@@ -75,12 +75,12 @@ docker compose exec -it my-directus npx directus schema-sync install --force
7575

7676
1. `npm install directus-extension-schema-sync`
7777
2. Then run `directus schema-sync install` to install the extension's columns in the database and add the config folder
78-
4. Edit the `config.js` in the schema directory and add your collections you want to sync
79-
5. Finally run `directus schema-sync export` to export the schema and data from the Directus API
78+
3. Edit the `config.js` in the schema directory and add your collections you want to sync
79+
4. Finally run `directus schema-sync export` to export the schema and data from the Directus API
8080

8181
## 2 Configuration
8282

83-
View and edit the schema-sync/*_config.js_ file to include the collections you want to sync.
83+
View and edit the schema-sync/*_config.js_ file to include the collections you want to sync.
8484

8585
To automatically import and export the schema and data, set the `SCHEMA_SYNC` environment variable to `IMPORT`, `EXPORT` or `BOTH`.
8686
In production it is advised to set `SCHEMA_SYNC` to `IMPORT` and in local development to `BOTH`.

0 commit comments

Comments
 (0)