-
-
Notifications
You must be signed in to change notification settings - Fork 0
Using this tool within a development team
Jelle Siderius edited this page May 20, 2022
·
1 revision
The easiest way to share database configurations within a development team is to set up a private repository with the config/databases/production.json
and config/databases/staging.json
files. After this step, you can symlink the files.
In this example sw-db-sync-databases
is the private team repository.
Navigate to sw-db-sync/config/databases and symlink the files
ln -s ../../../sw-db-sync-databases/staging.json staging.json
ln -s ../../../sw-db-sync-databases/production.json production.json