Playground manager for oomstore.
``` $ oomplay --help Playground manager for oomstore
USAGE:
oomplay
OPTIONS: -h, --help Print help information -V, --version Print version information
SUBCOMMANDS: init Initialize playgrounds stop Stop playgrounds completion Output shell completion code ```
$ oomplay init redis
[*] 🎮 Initializing playground 'redis' ...
[*] âš¡ Checking health ...
[*] 🚚 Pulling image 'redis:alpine' ...
[*] 📦 Creating container 'oomplay-redis' ...
[*] 💫 Starting container 'oomplay-redis' ...
[*] âš¡ Checking health ...
[*] 🌀 Initializing database ...
[*] 🔰 Store is ready
[*] ✨ Initialized playground 'redis'
$ oomplay init -f config.yaml
[*] 🎮 Initializing playground 'online-store' ...
[*] âš¡ Checking health ...
[*] 🌀 Initializing database ...
[*] 🔰 Store is ready
[*] ✨ Initialized playground 'online-store'
[*] 🎮 Initializing playground 'metadata-store' ...
[*] âš¡ Checking health ...
[*] 🔰 Store is already running
[*] 🌀 Initializing database ...
[*] ✨ Initialized playground 'metadata-store'
[*] 🎮 Initializing playground 'offline-store' ...
[*] âš¡ Checking health ...
[*] 🔰 Store is already running
[*] 🌀 Initializing database ...
[*] ✨ Initialized playground 'offline-store'
The config.yaml
used above:
```yaml
online-store:
redis:
host: 127.0.0.1
port: 6379
password: test
database: 0
offline-store: postgres: host: 127.0.0.1 port: 5432 user: test password: test database: test
metadata-store: mysql: host: 127.0.0.1 port: 3306 user: test password: test database: test ```
Run oomplay --help
to get detailed usage.
You can install oomplay
with Homebrew:
brew tap oom-ai/oomplay
brew install oomplay
Pre-built versions of oomplay
for various architectures are available at Github release page.
oomplay
is also published on crates.io. If you have Rust toolchains (nightly) installed you can use cargo
to install it from source:
cargo install --locked oomplay
If you want the latest version, clone this repository and run cargo install --path .
.