minor bash fixes in start-h2 & user experience requests #1241
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
name: Pull Request
about: Bug fixes and User Experience
title: 'Fix some low hanging bugs; Suggest other more in-depth fixes'
labels: Status:Discovery
assignees: ''
Environment
Liquibase Version: 3.10.0
Liquibase Integration & Version: CLI
Liquibase Extension(s) & Version: n/a
Database Vendor & Version: n/a
Operating System Type & Version: macOS Catalina v10.15.4
Pull Request Type
Description
I'm brand new to Liquibase and trying to start up the examples shell on macOS Catalina.
User Experience Problem #1
My initial problem was when I called the
start-h2
script, I got the following:The first problem I tackled was the
Exception opening port "8090" (port may be in use)
.It turns out that this is the port used by Docker Desktop for Macs, which was running in the background.
Some type of port check and clearer notification really would have been appreciated here!
Part of a possible solution
Something like the following at the beginning of the
start-h2
file will work for macOS users, but you should obviously have a more platform-agnostic approach, hence no PR for this portion.Bug #1
Once I had closed my Docker Desktop, I reran the
sh start-h2
script and I got this:The lines in question actually have an error in the formatting of the
if
statements.This PR should fixes these.
User Experience Problem #2
Frankly, the Tutorial for Beginners: Using the Liquibase Installer page is particularly not useful.
For example, nowhere does it indicate that
sh start-h2
should be run.I also still have no idea what "To get started, download your database’s JDBC driver to the lib directory, then run the Liquibase script in the root of this directory." means or where to look for JDBC drivers.
Fast Track PR Acceptance Checklist:
Need Help?
Come chat with us on our discord channel