The deployment-info.json Specification
Abstract
Specification
Top-Level Schema
{
"schema": "bsv-app",
"schemaVersion": "1.0",
"topicManagers": {
"tm_meter": "./backend/src/topic-managers/MeterTopicManager.ts"
},
"lookupServices": {
"ls_meter": {
"serviceFactory": "./backend/src/lookup-services/MeterLookupServiceFactory.ts",
"hydrateWith": "mongo"
}
},
"frontend": {
"language": "react",
"sourceDirectory": "./frontend"
},
"contracts": {
"language": "sCrypt",
"baseDirectory": "./backend"
},
"configs": [
{
"name": "Local LARS",
"network": "testnet",
"provider": "LARS",
"run": [
"backend"
]
},
{
"name": "production",
"provider": "CARS",
"CARSCloudURL": "http://some-cloud.example.com",
"projectID": "your-project-id",
"network": "mainnet",
"deploy": [
"frontend",
"backend"
],
"frontendHostingMethod": "HTTPS"
}
]
}Fields
schema (string)
schema (string)schemaVersion (string)
schemaVersion (string)topicManagers (object)
topicManagers (object)lookupServices (object)
lookupServices (object)frontend (object)
frontend (object)contracts (object)
contracts (object)configs (array)
configs (array)Additional Notes on configs:
configs:Integration With LARS and CARS
Compatibility and Future-Proofing
Example Minimal deployment-info.json
deployment-info.jsonExample More Complex deployment-info.json
deployment-info.jsonConclusion
Last updated
Was this helpful?

