Categorygithub.com/nircoren/lightblocks
repository
0.0.0-20240827185125-8b239674d4f3
Repository: https://github.com/nircoren/lightblocks.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Updated Project

Quick Start:

  1. Run in cmd:
git --branch new_ver clone https://github.com/nircoren/lightblocks.git
  1. Add .env to root of project. Make sure its called .env

  2. Build images
docker-compose build
  1. Run server
docker-compose up -d server
  1. Run client
docker run --rm -it lightblocks-client
  1. 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.