Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.
/ dbeaver Public archive

Docksal addon to launch DBeaver with the connection information from the current project.

License

Notifications You must be signed in to change notification settings

CyberJack/dbeaver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

DBeaver Docksal addon

NOTE: This repository is no longer maintained!
The dbeaver script is now part of the docksal addons repository.

This Docksal addon launches DBeaver with the connection information from the current project. DBeaver is a multi-platform database tool which supports popular database engines like MySQL, PostgreSQL, SQLite and more.

This addon tries to detect the database engine and launches DBeaver with the correct connection settings. Currently only the following database engines can be detected:

  • MySQL
  • PostgreSQL

Requirements

Installation

Global

To install this addon globally, clone this repository inside the $HOME/.docksal/addons directory.

mkdir -p $HOME/.docksal/addons
git clone git@github.com:CyberJack/dbeaver.git $HOME/.docksal/addons/dbeaver

Inside a single project

To install this addon inside a single project, clone this repository inside the .docksal/addons directory within the project.

From the root of the project run:

mkdir -p .docksal/addons
git clone git@github.com:CyberJack/dbeaver.git .docksal/addons/dbeaver

Usage

fin dbeaver [service_name (default: db)]

Run fin dbeaver to launch DBeaver with the connection information from the current project. If the database service name is not db or the project has multiple database services, a service name can be provided as the first parameter.

Contributing

Pull requests are welcome. Make sure to use ShellCheck before submitting a pull request.
For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Links

About

Docksal addon to launch DBeaver with the connection information from the current project.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages