-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
spin.toml
34 lines (28 loc) · 905 Bytes
/
spin.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
spin_manifest_version = 2
[application]
name = "Wasp"
version = "0.1.0"
authors = ["pannous <info@pannous.com>"]
description = "🐝 Wasp compiler running on spin: wasp.fermyon.app ! Use http://wasp.pannous.com/ to deploy tiny wasp programs as wasm on fermyon.app "
[[trigger.http]]
route = "/..."
component = "wasp"
executor = { type = "wagi" }
[component.wasp]
source = "wasp.wasm"
allowed_outbound_hosts = []
[component.wasp.build]
command = "make"
watch = ["wasp.wasm"]
# [component]
# sqlite_databases = ["default"] # .spin/sqlite_db.db
# spin cloud sqlite create wasp
# spin cloud sqlite list
# spin cloud sqlite execute -d wasp "CREATE TABLE IF NOT EXISTS …"
# spin cloud sqlite execute -d wasp @mysql.sql
# [component.spin_key_value]
# key_value_stores = ["default"]
# NO C API: https://developer.fermyon.com/spin/v2/key-value-store-tutorial
# use spin_sdk::{
# key_value::Store,
# };