File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,9 @@ run_mathesar() {
254254 fi
255255
256256 info " Starting gunicorn webserver..."
257- exec " $gunicorn_bin " $gunicorn_opts
257+ pushd " ${BASE_DIR} " > /dev/null
258+ exec " $gunicorn_bin " $gunicorn_opts
259+ popd > /dev/null
258260}
259261
260262
Original file line number Diff line number Diff line change 5151 <input data-input-for="MATHESAR_INSTALL_DIR" aria-label="Your Mathesar installation directory"/>
52521. Create and chown it if it doesn’t exist:
5353```bash
54- sudo mkdir -p "xMATHESAR_INSTALL_DIRx"
55- sudo chown "$(id -u):$(id -g)" "xMATHESAR_INSTALL_DIRx"
54+ mkdir -p "xMATHESAR_INSTALL_DIRx"
55+ chown "$(id -u):$(id -g)" "xMATHESAR_INSTALL_DIRx"
5656```
57571 . Move inside the installation directory.
5858``` bash
@@ -63,7 +63,7 @@ cd "xMATHESAR_INSTALL_DIRx"
6363
64641 . Download and make the script executable:
6565``` bash
66- curl -sSfL https://raw.githubusercontent.com/mathesar-foundation/mathesar/{{mathesar_version}}/install.sh -o install.sh
66+ curl -sSfL https://raw.githubusercontent.com/mathesar-foundation/mathesar/{{mathesar_version}}/scripts/ install.sh -o install.sh
6767chmod +x install.sh
6868```
69691 . Run it, ** pointing at the Postgres DB you created** :
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ PACKAGE_LOCATION="https://github.com/mathesar-foundation/mathesar/releases/downl
4646
4747# This is called before installation
4848set_install_dir () {
49- INSTALL_DIR=" $1 "
49+ INSTALL_DIR=" $( cd -P " $1 " && pwd ) "
5050
5151 UV_DIR=" ${INSTALL_DIR} " /uv
5252 PACKAGE_DIR=" ${INSTALL_DIR} " /packages
You can’t perform that action at this time.
0 commit comments