Skip to content

sypnia.toml

The one configuration file of your project, and the table that says where your code lives.

Applies to EngineCloud
View as Markdown

sypnia.toml sits at the root of your repository and is the one configuration file of your project: every Sypnia product reads it. At the top it names the project; then each product has a table of its own. Each product reads only its table and ignores the others, and each product’s command line rewrites only its own table, keeping your comments. Secrets never go in it.

sypnia.toml
format = 1
project = "la-espiga"

[git]
remote = "https://git.app.sypnia.com/laespiga/web.git"
default_branch = "main"
mirror = { github = "laespiga/web" }   # a read-only copy on GitHub

[run.apps.laespiga]
kind = "ssr"

The [git] table

KeyTypeWhat it is
remotestringwhere the code lives: your repository in Sypnia Git, or, after you leave, any git address
default_branchstringthe branch that deploys to production, main by default
mirror.githubstringowner/repo of the read-only mirror on GitHub, if you keep one

Run, Cases and Agent read git.remote to find your code. import and export change it for you, and nothing else in the project needs to change.

    Search pages, sections and terms