Skip to content

Commit

Permalink
Merge pull request #2627 from centerofci/release_v0.1_new
Browse files Browse the repository at this point in the history
Release v0.1 bugfixes
  • Loading branch information
mathemancer committed Mar 2, 2023
2 parents 55a1fed + 7d1658e commit 99e4d90
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ get_db_host () {
echo "Databases on localhost are not supported by this installation method." >&2
db_host=$(get_nonempty "${prefix} database host")
done
echo "${db_host}"
}

configure_db_urls () {
Expand Down Expand Up @@ -145,7 +146,7 @@ Welcome to the Mathesar installer for version %s!
For more information or explanation about the steps involved, please see:
https://docs.mathesar.org/installation/docker-compose/#installation-steps
https://docs.mathesar.org/installation-dc/under-the-hood/
--------------------------------------------------------------------------------
Expand All @@ -165,13 +166,16 @@ if [ "$(echo "${OSTYPE}" | head -c 5)" == "linux" ]; then
printf "Installing Mathesar for GNU/Linux.
"
alias docker='sudo docker'
INSTALL_OS='linux'
elif [ "$(echo "${OSTYPE}" | head -c 6)" == "darwin" ]; then
printf "Installing Mathesar for macOS.
"
INSTALL_OS='macos'
else
printf "Operating System Unknown. Proceed at your own risk.
"
alias docker='sudo docker'
INSTALL_OS='unknown'
fi
read -r -p "
Press ENTER to continue, or CTRL+C to cancel. "
Expand Down Expand Up @@ -394,6 +398,9 @@ HTTP_PORT='${http_port}'
HTTPS_PORT='${https_port}'
EOF
sudo chmod 640 .env
if [ "${INSTALL_OS}" == 'macos' ]; then
sudo chown "${USER}" .env
fi
clear -x

printf "
Expand Down

0 comments on commit 99e4d90

Please sign in to comment.