Content-Length: 322827 | pFad | http://github.com/postgresml/postgresml/commit/ff4e23e0c8534ca79c68280d9051e791ba3e4361

BF add docs to build scripts (#1066) · postgresml/postgresml@ff4e23e · GitHub
Skip to content

Commit ff4e23e

Browse files
authored
add docs to build scripts (#1066)
1 parent 4161376 commit ff4e23e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docker/dashboard.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44
export DATABASE_URL=postgres://postgresml:postgresml@127.0.0.1:5432/postgresml
55
export DASHBOARD_STATIC_DIRECTORY=/usr/share/pgml-dashboard/dashboard-static
66
export DASHBOARD_CONTENT_DIRECTORY=/usr/share/pgml-dashboard/dashboard-content
7-
export DASHBOARD_CONTENT_DOCS=/usr/share/pgml-docs
7+
export DASHBOARD_DOCS_DIRECTORY=/usr/share/pgml-docs
88
export SEARCH_INDEX_DIRECTORY=/var/lib/pgml-dashboard/search-index
99
export ROCKET_SECRET_KEY=$(openssl rand -hex 32)
1010
export ROCKET_ADDRESS=0.0.0.0

packages/postgresml-dashboard/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ rm "$deb_dir/release.sh"
2525
cargo build --release && \
2626
cp target/release/pgml-dashboard "$deb_dir/usr/bin/pgml-dashboard" && \
2727
cp -R content "$deb_dir/usr/share/pgml-dashboard/dashboard-content" && \
28-
cp -R static "$deb_dir/usr/share/pgml-dashboard/dashboard-static" )
28+
cp -R static "$deb_dir/usr/share/pgml-dashboard/dashboard-static" && \
29+
cp -R ../pgml-docs "$deb_dir/usr/share/pgml-docs" )
2930

3031
(cat ${SCRIPT_DIR}/DEBIAN/control | envsubst) > "$deb_dir/DEBIAN/control"
3132
(cat ${SCRIPT_DIR}/etc/systemd/system/pgml-dashboard.service | envsubst) > "$deb_dir/etc/systemd/system/pgml-dashboard.service"

packages/postgresml-dashboard/etc/systemd/system/pgml-dashboard.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ StartLimitIntervalSec=0
77
Environment=RUST_LOG=info
88
Environment=DASHBOARD_STATIC_DIRECTORY=/usr/share/pgml-dashboard/dashboard-static
99
Environment=DASHBOARD_CONTENT_DIRECTORY=/usr/share/pgml-dashboard/dashboard-content
10-
Environment=DASHBOARD_CONTENT_DIRECTORY=/usr/share/pgml-docs
10+
Environment=DASHBOARD_DOCS_DIRECTORY=/usr/share/pgml-docs
1111
Environment=ROCKET_ADDRESS=0.0.0.0
1212
Environment=GITHUB_STARS=${GITHUB_STARS}
1313
Environment=SEARCH_INDEX_DIRECTORY=/var/lib/pgml-dashboard/search-index

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgresml/postgresml/commit/ff4e23e0c8534ca79c68280d9051e791ba3e4361

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy