This PR adds the ability to include MySQL and Postgres easily into your Kaiserfile, making it easier to start on a project. The plugin does most of the heavy lifting demanded by the db command, while still letting the user write his own db command if he is using another database.
To use it you simply add
plugin :database
# and then make it so Kaiser starts a mysql database for your project
def_db :mysql
Context
This PR adds the ability to include MySQL and Postgres easily into your Kaiserfile, making it easier to start on a project. The plugin does most of the heavy lifting demanded by the
db
command, while still letting the user write his owndb
command if he is using another database.To use it you simply add
How to test
cd db_test
bundle install
kaiser init db_test
kaiser up -v
db_test-db
is upped and that you cankaiser db_save
andkaiser db_load