Skip to content

Commit 2ef3ddc

Browse files
authored
gitbook assets (#1052)
1 parent e82544a commit 2ef3ddc

File tree

116 files changed

+356
-7861
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+356
-7861
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ SELECT pgml.predict(
138138
# Installation
139139
PostgresML installation consists of three parts: PostgreSQL database, Postgres extension for machine learning and a dashboard app. The extension provides all the machine learning functionality and can be used independently using any SQL IDE. The dashboard app provides an easy to use interface for writing SQL notebooks, performing and tracking ML experiments and ML models.
140140

141+
## Serverless Cloud
142+
143+
If you want to check out the functionality without the hassle of Docker, [sign up for a free PostgresML account](https://postgresml.org/signup). You'll get a free database in seconds, with access to GPUs and state of the art LLMs.
144+
141145
## Docker
142146

143147
```
@@ -150,19 +154,14 @@ docker run \
150154
sudo -u postgresml psql -d postgresml
151155
```
152156

153-
For more details, take a look at our [Quick Start with Docker](https://postgresml.org/docs/guides/setup/quick_start_with_docker) documentation.
154-
155-
## Serverless Cloud
156-
157-
If you want to check out the functionality without the hassle of Docker, [sign up for a free PostgresML account](https://postgresml.org/signup). You'll get a free database in seconds, with access to GPUs and state of the art LLMs.
157+
For more details, take a look at our [Quick Start with Docker](https://postgresml.org/docs/guides/developer-docs/quick-start-with-docker) documentation.
158158

159159
# Getting Started
160160

161161
## Option 1
162162

163-
- On local installation, go to dashboard app at `http://localhost:8000/` to use SQL notebooks.
164-
165163
- On the cloud console click on the **Dashboard** button to connect to your instance with a SQL notebook, or connect directly with tools listed below.
164+
- On local installation, go to dashboard app at `http://localhost:8000/` to use SQL notebooks.
166165

167166
## Option 2
168167

docker/dashboard.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +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
78
export SEARCH_INDEX_DIRECTORY=/var/lib/pgml-dashboard/search-index
89
export ROCKET_SECRET_KEY=$(openssl rand -hex 32)
910
export ROCKET_ADDRESS=0.0.0.0

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +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
1011
Environment=ROCKET_ADDRESS=0.0.0.0
1112
Environment=GITHUB_STARS=${GITHUB_STARS}
1213
Environment=SEARCH_INDEX_DIRECTORY=/var/lib/pgml-dashboard/search-index

pgml-dashboard/.env.development

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
DATABASE_URL=postgres:///pgml_dashboard_development
22
DEV_MODE=true
3+
RUST_LOG=debug,tantivy=error,rocket=info

pgml-dashboard/Cargo.lock

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pgml-dashboard/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ base64 = "0.21"
1717
comrak = "0.17"
1818
chrono = "0.4"
1919
csv-async = "1"
20+
convert_case = "0.6"
2021
dotenv = "0.15"
2122
env_logger = "0.10"
2223
itertools = "0.10"
2324
parking_lot = "0.12"
2425
lazy_static = "1.4"
2526
log = "0.4"
27+
markdown = "1.0.0-alpha.13"
2628
num-traits = "0.2"
2729
once_cell = "1.18"
2830
rand = "0.8"
@@ -39,6 +41,7 @@ sqlx = { version = "0.6.3", features = [ "runtime-tokio-rustls", "postgres", "js
3941
tantivy = "0.19"
4042
time = "0.3"
4143
tokio = { version = "1", features = ["full"] }
44+
url = "2.4"
4245
yaml-rust = "0.4"
4346
zoomies = { git="https://github.com/HyperparamAI/zoomies.git", branch="master" }
4447
pgvector = { version = "0.2.2", features = [ "sqlx", "postgres" ] }

pgml-dashboard/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
PostgresML provides a dashboard with analytical views of the training data and model performance, as well as integrated notebooks for rapid iteration. It is primarily written in Rust using [Rocket](https://rocket.rs/) as a lightweight web framework and [SQLx](https://github.com/launchbadge/sqlx) to interact with the database.
44

5-
Please see the [quick start instructions](https://postgresml.org/user_guides/setup/quick_start_with_docker/) for general information on installing or deploying PostgresML. A [developer guide](https://postgresml.org/developer_guide/overview/) is also available for those who would like to contribute.
5+
Please see the [quick start instructions](https://postgresml.org/docs/guides/getting-started/sign-up) for general information on installing or deploying PostgresML. A [developer guide](https://postgresml.org/developer_guide/overview/) is also available for those who would like to contribute.

pgml-dashboard/content/docs/guides/dashboard/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Dashboard
22

3-
PostgresML comes with a web app to provide visibility into models and datasets in your database. If you're running [our Docker container](/docs/guides/setup/quick_start_with_docker/), you can view it running on [http://localhost:8000/](http://localhost:8000/).
3+
PostgresML comes with a web app to provide visibility into models and datasets in your database. If you're running [our Docker container](/docs/guides/developer-docs/quick-start-with-docker), you can view it running on [http://localhost:8000/](http://localhost:8000/).
44

55

66
## Generate example data

pgml-dashboard/content/docs/guides/setup/distributed_training.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ psql \
2222
-f dump.sql
2323
```
2424

25-
If you're using our <a href="/docs/guides/setup/quick_start_with_docker">Docker</a> stack, you can import the data there:</p>
25+
If you're using our <a href="/docs/guides/developer-docs/quick-start-with-docker">Docker</a> stack, you can import the data there:</p>
2626

2727
```
2828
psql \

pgml-dashboard/content/docs/guides/setup/v2/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The extension can be installed by compiling it from source, or if you're using U
1010

1111
!!! tip
1212

13-
If you're just looking to try PostgresML without installing it on your system, take a look at our [Quick Start with Docker](/docs/guides/setup/quick_start_with_docker) guide.
13+
If you're just looking to try PostgresML without installing it on your system, take a look at our [Quick Start with Docker](/docs/guides/developer-docs/quick-start-with-docker) guide.
1414

1515
!!!
1616

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy