Skip to content
LuitiPublic
forked from 17zuoye/lui

About

A simple deployment setup tool, inspired by luigi and homebrew.

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

28 Commits

Folders and files

Repository files navigation

lui Build Status

A simple deployment setup tool, inspired by luigi and homebrew.

Usage

wget https://github.com/raw/17zuoye/lui/master/lui.py
chmod +x lui.py
./lui.py


# install on clusters
for host in host1 host2
do
  echo
  echo "** Installing $host"
  export USE_USER=hadoop
  export lui=lui.py
  export json=lui_hadoop_cluster.json
  scp $lui $json root@$host:/tmp/
  nohup ssh root@$host "su - $USE_USER -c 'cd /tmp; ./$lui $json; rm -f $lui $json;'" &
done

Related to luigi

As the luigi README said, "Luigi is a Python module that helps you build complex pipelines of batch jobs. It handles dependency resolution, workflow management, visualization etc.", dependencies install is awesome!

Related to homebrew

Homebrew is a package manager for OS X, and there's also a fork version called linuxbrew. They are both written in Ruby, and lui want to directly use their package informations, so lui need to be written in Ruby too, but now it is still written in Python ...

Run tests

pip install tox
tox

About

A simple deployment setup tool, inspired by luigi and homebrew.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages