|
@@ -1,9 +1,9 @@ |
|
|
#!/bin/bash |
|
|
#!/bin/bash |
|
|
|
|
|
|
|
|
set -e |
|
|
set -e |
|
|
|
|
|
|
|
|
cd ~ || exit |
|
|
cd ~ || exit |
|
|
|
|
|
|
|
|
|
|
|
echo "Setting Up Bench..." |
|
|
|
|
|
|
|
|
pip install frappe-bench |
|
|
pip install frappe-bench |
|
|
|
|
|
|
|
|
bench -v init frappe-bench --skip-assets --python "$(which python)" --frappe-path "${GITHUB_WORKSPACE}" |
|
|
bench -v init frappe-bench --skip-assets --python "$(which python)" --frappe-path "${GITHUB_WORKSPACE}" |
|
@@ -17,10 +17,6 @@ if [ "$TYPE" == "server" ]; then |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if [ "$DB" == "mariadb" ];then |
|
|
if [ "$DB" == "mariadb" ];then |
|
|
curl -LsS -O https://downloads.mariadb.com/MariaDB/mariadb_repo_setup |
|
|
|
|
|
sudo bash mariadb_repo_setup --mariadb-server-version=10.6 |
|
|
|
|
|
sudo apt install mariadb-client |
|
|
|
|
|
|
|
|
|
|
|
mariadb --host 127.0.0.1 --port 3306 -u root -ptravis -e "SET GLOBAL character_set_server = 'utf8mb4'"; |
|
|
mariadb --host 127.0.0.1 --port 3306 -u root -ptravis -e "SET GLOBAL character_set_server = 'utf8mb4'"; |
|
|
mariadb --host 127.0.0.1 --port 3306 -u root -ptravis -e "SET GLOBAL collation_server = 'utf8mb4_unicode_ci'"; |
|
|
mariadb --host 127.0.0.1 --port 3306 -u root -ptravis -e "SET GLOBAL collation_server = 'utf8mb4_unicode_ci'"; |
|
|
|
|
|
|
|
|