update readmes

This commit is contained in:
folex 2021-02-26 03:33:20 +03:00
parent 575fff38a3
commit 4104c35427
4 changed files with 17 additions and 2 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ node_modules
/artifacts
keypair.json
*.wasm
logo.svg

View File

@ -1,6 +1,6 @@
# Download & return URL via curl
An example repo to kick-off building services on Fluence.
An example to kick-off building services on Fluence.
What it does:
- exploits `mounted_binaries` to call `/usr/bin/curl` on the host OS

14
url-downloader/README.md Normal file
View File

@ -0,0 +1,14 @@
# Download file to disk
Example to show how to work with disk + link several .wasm modules into a service.
# Build & deploy it
```shell
./deploy.sh
```
# Call it
```shell
fldist run_air -p download.air -d '{"service": "08eba00d-ff40-4e38-bbe6-ee3646498400"}'
```

View File

@ -5,7 +5,7 @@
(
cd artifacts
fldist new_service --env dev --name "url_downloader" --modules \
fldist new_service --name "url_downloader" --modules \
curl_adapter.wasm:curl_adapter.json \
local_storage.wasm:local_storage.json \
facade.wasm:facade.json