repository
0.0.0-20240827185125-8b239674d4f3
Repository: https://github.com/nircoren/lightblocks.git
Documentation: pkg.go.dev
# README
Updated Project
Quick Start:
- Run in cmd:
git --branch new_ver clone https://github.com/nircoren/lightblocks.git
- Add .env to root of project. Make sure its called .env
- Build images
docker-compose build
- Run server
docker-compose up -d server
- Run client
docker run --rm -it lightblocks-client
- First prompt will be username, second should be a json in this format:
[
{
"Action": "addItem",
"Key": "1",
"Value": "val1"
},
{
"Action": "getAllItems"
},
{
"Action": "addItem",
"Key": "2",
"Value": "val2"
}
]
!!! might have issue with parsing the json on bash/wt in windows, better to use another terminal.
Example multiple inputs:
input1.json
input2.json
input3.json
You can try to run multiple instances of the program with different username for each input.