Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitff4e23e

Browse files
authored
add docs to build scripts (#1066)
1 parent4161376 commitff4e23e

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-
exportDASHBOARD_CONTENT_DOCS=/usr/share/pgml-docs
7+
exportDASHBOARD_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)

[8]ページ先頭

©2009-2025 Movatter.jp