Setting up your linux is easy!
Clone repo:
git clone https://github.com/dodo325/ohmylinux.git
Or
git clone --recurse-submodules https://github.com/dodo325/ohmylinux.git
Start script:
bash ohmylinux/oh-my-linux
Load shunit2:
git submodule init; git submodule update
Run tests:
./test.sh
Build:
docker build -f ./docker/ubuntu -t ohmylinux .
Run tests:
docker run --rm -it --entrypoint bash ohmylinux test.sh
Run Bash session:
mkdir -p build/
docker run --rm -v "$(pwd)"/build/:/app/build/ -it --entrypoint bash ohmylinux
oh-my-linux - Oh My Linux
Usage:
oh-my-linux [command]
oh-my-linux [command] --help | -h
oh-my-linux --version | -v
Commands:
build Build script
run Run the script
Options:
--help, -h
Show this help
--version, -v
Show version number
Environment Variables:
DEBUG
Enable debug mode
oh-my-linux build - Build script
Shortcut: b
Usage:
oh-my-linux build [SELECT] [options]
oh-my-linux build --help | -h
Options:
--help, -h
Show this help
--debug, -d
Enable debug mode
--no-logo
Not print logo
--run, -r
Run scripn after building
--sysinfo
Print System info
Arguments:
SELECT
Selecte some scripts
Examples:
cli build
cli build -d -r
cli build "vlc GUI"
cli build --sysinfo "vlc GUI"
oh-my-linux run - Run the script
Usage:
oh-my-linux run SCRIPT [options]
oh-my-linux run --help | -h
Options:
--help, -h
Show this help
--debug, -d
Enable debug mode
--no-logo
Not print logo
--sysinfo
Print System info
Arguments:
SCRIPT
Script name