Right now we have a list of Horizon basics and Building Horizon apps I'm not sure if either of these is a good spot or maybe it should go under Resources.
This guide should start with the assumption that:
You have built your Horizon app
You have your database in a ready state with collections and indexes created
Either thanks to --auto-create-collection --auto-create-index and/or use of hand editing the schema.toml file
The guide should then cover:
Exporting your current database collections/indexes meta-state into schema.toml
Securely moving schema.toml and secrets.toml file to your deployment server.
Or maybe putting schema.toml into source control but explain why secrets.toml should definitely not be? (Unless it's a private repo?)
How to start hz serve and import the new schema.toml settings
Including recommended configuration for hz serve in production
Right now we have a list of
Horizon basics
andBuilding Horizon apps
I'm not sure if either of these is a good spot or maybe it should go underResources
.This guide should start with the assumption that:
--auto-create-collection --auto-create-index
and/or use of hand editing theschema.toml
fileThe guide should then cover:
schema.toml
schema.toml
andsecrets.toml
file to your deployment server.schema.toml
into source control but explain whysecrets.toml
should definitely not be? (Unless it's a private repo?)hz serve
and import the newschema.toml
settingshz serve
in production