Skip to content

milk-org/milk

Repository files navigation

License: GPL v3

Latest Version: latesttag

Branch Build Docker Deployment Activity
main CMake badge CMake badge lastcommit
dev CMake badge CMake badge lastcommit

Code metrics (dev branch) : CodeScene Code Health CodeScene System Mastery Codacy Badge CodeFactor


Milk

milk-core for milk package.

Module inclues key frameworks :

  • image streams : low-latency shared memory streams
  • processinfo : process management and control
  • function parameter structure (FPS) : reading/writing function parameters

Download

git clone https://github.com/milk-org/milk.git
cd milk

Compile

Check required package in Dockerfile.

Standard compile:

mkdir _build
cd _build
cmake ..
make
sudo make install

Compile with Python module (check script help with -h option for details):

./compile.sh $PWD/local

Set environment variables (.bashrc or equivalent):

  • MILK_ROOT: Source code directory, for example "/home/coldpenguin/src/milk"
  • MILK_INSTALLDIR: Installation directory, for example "/usr/local/milk"
  • MILK_SHM_DIR: Shared memory directory, for exmaple "/milk/shm"

Check installation (from any directory) :

milk-check

Interactive tutorial

Pre-requisites: tmux, nnn

milk-tutorial

Adding plugins

Compile with cacao plugins:

./fetch_cacao_dev.sh
./compile.sh $PWD/local

Compile with coffee plugins:

./fetch_coffee_dev.sh
./compile.sh $PWD/local