A documentation to setup a decentralized ledger using Fluree
Author: Ramdhani Rachmansyah
George Brown College
There are ways to install Fluree:
docker run -d --restart=always -p 8090:8090 fluree/ledger:latest
- Install Java 11 or above
- Download latest version
- Run
./fluree_start.sh
Installing via HomeBrew is not working. The Brew Tap is broken
On the Admin UI, click Add Ledger
Ledger name: use lowercase or kebab-case only
Schema is created by adding Collections
- Go to
Transact
menu - On the Transaction box, input:
[
{
"_id": "_collection",
"name": "person"
},
{
"_id": "_collection",
"name": "chat"
}
]
- Click play button on the top right side
- On
Transact
menu, input:
[
{
"_id": "person",
"handle": "oRamirez",
"fullName": "Oscar Ramirez"
},
{
"_id": "person",
"handle": "cStuart",
"fullName": "Chana Stuart"
}
]
- On
Transact
menu, input:
[
{
"_id": ["person/handle", "dsanchez"],
"age": 71
}
]
- On
Transact
menu, input:
[
{
"_id": ["person/handle", "zsmith"],
"_action": "delete"
}
]