iTermocil - divide and conquer your terminal like a PRO
iTermocil
Last week Iโve introduced to you very neat script called Z.sh
. ๐ Next to it I consider iTermocil
as a perfect complement of your heavily used dev toolbox. ๐ง
What is it?
As official documentation stands out it allows us to setup pre-configured layouts of windows and panes in iTerm2, having each open in a specified directory and execute specified commands.
Correct. ๐
As a developer we can relatively often deal with situations in which we open the same set of tools in terminal in order to run specific project we work on actively. Its a good occasion to automate such thing and this is what iTermocil
is perfect for. ๐
How do I use it with JustinDB?
Its worth to notice that JustinDB can be started in a cluster - in order to emulate real-world environment we can represent it on local machine as a pool of processes (single process represents single node of the cluster).
Iโve preconfigured bunch of different iTermocilโs configs. Depends on how big I want to have custer (3 or 5 nodes most of the time) I start cluster bootstraping with dedicated configuration.
Iโm running:
itermocil justin-cluster-5
or itermocil justin-cluster-3
Puff, magic happens here ๐ญ. This is what I see after a while - working JustinDB
cluster I can run tests against it.