This commit adds the Mysql plugin to the Appsmith server. We also add a migration to ensure that this plugin is installed by default for all existing organizations. The migration also adds the plugin details into the DB. Also adding the test cases for mysql plugin. Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: Hetu Nandu <hetu@appsmith.com> Co-authored-by: Arpit Mohan <me@arpitmohan.com> Co-authored-by: Nupur Singhal <nupursinghal@Nupurs-MacBook-Air.local>
14 lines
364 B
Bash
Executable File
14 lines
364 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Change to the parent directory of the directory containing this script.
|
|
cd "$(cd "$(dirname "$0")" && pwd)/.."
|
|
|
|
# Ref: <https://stackoverflow.com/a/30969768/151048>.
|
|
if [[ -f .env ]]; then
|
|
echo "Found a .env file, loading environment variables from that file."
|
|
set -o allexport
|
|
source .env
|
|
fi
|
|
|
|
(cd dist && exec java -jar server-*.jar)
|