1. What is bq?
bq is a command line interactive tool that allows creating and managing Bootique projects.
bq available via Homebrew package manager. All you need in order to install
bq on MacOS is to run:
brew install bootique-tools/repo/bq
bq on CentOS you need to
add bintray repo to your yum sources:
wget https://bintray.com/bootique/bq-rpm/rpm -O bintray-bootique-bq-rpm.repo sudo mv bintray-bootique-bq-rpm.repo /etc/yum.repos.d/
yum install bq
Installation process is similar to CentOS.
Add bintray repo to apt sources:
echo "deb [trusted=yes] https://dl.bintray.com/bootique/bq-deb vivid main" | sudo tee -a /etc/apt/sources.list
apt-get update apt-get install bq
Windows binary is distributed with Chocolatey package manager. Use following command to install
choco install bq.portable
And here is how to upgrade
bq to the latest version:
choco upgrade bq.portable
Running BQ in an interactive mode:
If everything setup correctly you should see welcome banner with some general information about the tool. To see all available commands you could use
To exit from the
bq shell run
Maven toolchain is set by default.
new multimodule project:
new parent io.bootique.test:test:1.0
new runnable app:
new app io.bootique.test:test-app:1.0
new module io.bootique.test:test-module:1.0
To use Gradle as your build tool you need to set it in
config toolchain gradle
Available commands are same as in Maven case.