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

Commit1c6d242

Browse files
committed
Merge branch 'master' into dan-guards-fairings
2 parentsce3fd30 +1843058 commit1c6d242

File tree

14 files changed

+352
-43
lines changed

14 files changed

+352
-43
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<palign="center">
22
<ahref="https://postgresml.org/">
3-
<img src="https://postgresml.org/static/images/owl_gradient.svg" width="175" alt="PostgresML">
3+
<img src="https://postgresml.org/dashboard/static/images/owl_gradient.svg" width="175" alt="PostgresML">
44
</a>
55
</p>
66

‎pgml-dashboard/src/api/docs.rs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ async fn blog_handler<'a>(
9797
current_user,
9898
&path,
9999
vec![
100+
NavLink::new("MindsDB vs PostgresML")
101+
.href("/blog/mindsdb-vs-postgresml"),
100102
NavLink::new("Introducing PostgresML Python SDK: Build End-to-End Vector Search Applications without OpenAI and Pinecone")
101103
.href("/blog/introducing-postgresml-python-sdk-build-end-to-end-vector-search-applications-without-openai-and-pinecone"),
102104
NavLink::new("PostgresML raises $4.7M to launch serverless AI application databases based on Postgres")

‎pgml-dashboard/src/utils/config.rs‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@ pub fn static_dir() -> String {
3232
}
3333
}
3434

35-
// pub fn content_dir() -> String {
36-
// match var("CONTENT_DIRECTORY") {
37-
// Ok(dir) => dir,
38-
// Err(_) => "content".to_string(),
39-
// }
40-
// }
41-
4235
pubfnsearch_index_dir() ->String{
4336
matchvar("SEARCH_INDEX_DIRECTORY"){
4437
Ok(path) => path,

‎pgml-dashboard/static/blog/mindsdb-vs-postgresml.md‎

Lines changed: 308 additions & 0 deletions
Large diffs are not rendered by default.
692 KB
Loading
290 KB
Loading
145 KB
Loading

‎pgml-dashboard/templates/layout/footer.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h5 class="h5 d-flex align-items-center gap-2 mb-5">
2424
<aclass="nav-link text-white"href="/privacy"data-turbo="false">Privacy Policy</a>
2525
</nav>
2626
</div>
27-
<% } %>
27+
<% } %>
2828
</div>
2929
</div>
3030

‎pgml-dashboard/templates/layout/nav/top.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<aclass="nav-link"href="/docs/guides/setup/quick_start_with_docker/">Docs</a>
2222
</li>
2323
<liclass="nav-item d-flex align-items-center">
24-
<aclass="nav-link"href="/blog/postgresml-raises-4.7M-to-launch-serverless-ai-application-databases-based-on-postgres">Blog</a>
24+
<aclass="nav-link"href="/blog/mindsdb-vs-postgresml">Blog</a>
2525
</li>
2626
<liclass="nav-item d-flex align-items-center">
2727
<aclass="nav-link"href="https://github.com/postgresml/postgresml"target="_blank">Open Source</a>

‎pgml-extension/docker/entrypoint.sh‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ echo "Creating user and database..."
1515
echo"Installing pgml extension..."
1616
psql -U postgres -h 127.0.0.1 pgml_development -f sql/setup_examples.sql -P pager
1717

18+
19+
if [-d"/docker-entrypoint-initdb.d" ];then
20+
echo"Running custom scripts..."
21+
forfin /docker-entrypoint-initdb.d/*.sql;do
22+
echo"Running custom script${f}"
23+
psql -U postgres -h 127.0.0.1 pgml_development -f"${f}"
24+
done
25+
fi
26+
1827
echo"Installing pgvector.."
1928
psql -U postgres -h 127.0.0.1 pgml_development -c'CREATE EXTENSION vector'
2029

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp