For syncing content from Sanity CMS to Ecto/PostgreSQL.
The package can be installed by adding sanity_sync
to your list of dependencies in mix.exs
:
def deps do
[
{:sanity_sync, "~> 0.1"}
]
end
See the docs for usage.
Configure Ecto repo:
config :sanity_sync, :repo, MyApp.Repo
Copy the migrations from this project to your app.