mirror of
https://github.com/fluencelabs/examples
synced 2024-12-04 19:20:17 +00:00
update readmes
This commit is contained in:
parent
575fff38a3
commit
4104c35427
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,3 +10,4 @@ node_modules
|
||||
/artifacts
|
||||
keypair.json
|
||||
*.wasm
|
||||
logo.svg
|
||||
|
@ -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
14
url-downloader/README.md
Normal 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"}'
|
||||
```
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user