Skip to content

Software Development Kit for monitoring/trading/lending

License

Notifications You must be signed in to change notification settings

Zatvobor/krasukha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Krasukha (рус. Красуха)

Build Status License

Deploy a distributed node

It deploys an appliance by default (see details in CMD statement).

  • docker build -t krasukha:master .
  • docker run -p 4369:4369 -dti --name=krasukha krasukha:master

Hint: you will be able to overwrite CMD statement right over docker run command.

Applies recent updates

  • docker exec krasukha sh -c 'git pull && mix compile'
  • docker exec -ti krasukha bash

Hint: a docker attach is also available option.

Manage your appliance

$ iex --name node1@127.0.0.1 --cookie krasukha -S mix
Erlang/OTP 19 [erts-8.0.2] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

iex(node1@127.0.0.1)> Node.ping(:"node@127.0.0.1")
:pong

Enjoy