-
Make sure you have latest distribution of golang (at least 1.21.)
-
Make sure you have local distribution of docker
-
Configure .env files:
./.env./db/.env
For example: copy the content of .env.example files
-
go to the
dbdirectory:cd db -
Download images and run containers:
docker compose up -d -
Wait a litlle while and log in to the pgadmin container service:
localhost:5050: Login is yourPGADMIN_EMAILand password is yourPGADMIN_PASSWORD -
Estabilish connection to the new server with proper information from your
.env:- Click
Add New Server - Enter the name you would like to call your connection e.g
kitty - Switch to the
Connectiontab Host name/address: Important info: if you run containers as a localhost please enter thedbvalue in this fieldPort: enter yourPOSTGRES_PORTvalue e.g.5432Maintenance database: enter yourPOSTGRES_DBvalueUsername: enter yourPOSTGRES_USERvaluePassword: enter yourkittyhubvalue- Click
savebutton
- Click
-
Go your connection, database and schemas.
-
Open new query tool for that database
-
Create new table using script from init.sql
-
Execute query
-
Open new terminal in the main KittyProtocol catalog
-
Run a hub via command:
go run ./cmd/hub
-
Run cli clients via command:
go run ./cmd/client_cli
-
Build gui clients .exe files via command:
go build -x -o meowssenger.exe ./gui_src
And the double click on your
mewssenger.exefile visibile in file explorer.