Skip to content

Commit

Permalink
Point from quickstart to Try It! ; fix link to curl
Browse files Browse the repository at this point in the history
  • Loading branch information
deobald committed Feb 24, 2024
1 parent c16f064 commit 2c47b3d
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions docs/print.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,12 @@ <h2 id="install-endb"><a class="header" href="#install-endb">Install Endb</a></h
</code></pre>
<p>See <a href="tutorial/../reference/installation.html">Installation</a> for more ways to install
and build <code>endb</code>.</p>
<p>See <a href="tutorial/try_it.html">Try It!</a> for methods of connecting to Endb and running queries.</p>
<h2 id="try-online"><a class="header" href="#try-online">Try Online</a></h2>
<p>If you do not want to install a full Endb instance, you can try the
<a href="https://endatabas.com/console.html">Wasm Console</a> instead.</p>
<p>The Wasm Console runs Endb directly in your web browser,
so you can ignore the following steps and jump straight to
so you can ignore the steps in <a href="tutorial/try_it.html">Try It!</a> and jump straight to
<a href="tutorial/sql_basics.html">Endb SQL Basics</a>.</p>
<p>NOTE: The Wasm Console is not a full Endb instance.
It does not provide APIs and has other performance
Expand All @@ -221,7 +222,7 @@ <h2 id="try-online"><a class="header" href="#try-online">Try Online</a></h2>
Any HTTP or WebSocket client will do, and Endb ships with a console
and client libraries.</p>
<h2 id="curl"><a class="header" href="#curl">curl</a></h2>
<p>Our first couple examples will use <a href="https://everything.curl.dev/get">curl</a>,
<p>Our first couple examples will use <a href="https://everything.curl.dev/install">curl</a>,
which you probably already have installed, to send queries directly to the API.</p>
<pre><code class="language-sh">curl -d &quot;INSERT INTO users (name) VALUES ('Tianyu')&quot; -H &quot;Content-Type: application/sql&quot; -X POST http://localhost:3803/sql
curl -d &quot;SELECT * FROM users&quot; -H &quot;Content-Type: application/sql&quot; -X POST http://localhost:3803/sql
Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/searchindex.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion docs/tutorial/quickstart.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,12 @@ <h2 id="install-endb"><a class="header" href="#install-endb">Install Endb</a></h
</code></pre>
<p>See <a href="../reference/installation.html">Installation</a> for more ways to install
and build <code>endb</code>.</p>
<p>See <a href="try_it.html">Try It!</a> for methods of connecting to Endb and running queries.</p>
<h2 id="try-online"><a class="header" href="#try-online">Try Online</a></h2>
<p>If you do not want to install a full Endb instance, you can try the
<a href="https://endatabas.com/console.html">Wasm Console</a> instead.</p>
<p>The Wasm Console runs Endb directly in your web browser,
so you can ignore the following steps and jump straight to
so you can ignore the steps in <a href="try_it.html">Try It!</a> and jump straight to
<a href="sql_basics.html">Endb SQL Basics</a>.</p>
<p>NOTE: The Wasm Console is not a full Endb instance.
It does not provide APIs and has other performance
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/try_it.html
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ <h1 id="try-it"><a class="header" href="#try-it">Try It!</a></h1>
Any HTTP or WebSocket client will do, and Endb ships with a console
and client libraries.</p>
<h2 id="curl"><a class="header" href="#curl">curl</a></h2>
<p>Our first couple examples will use <a href="https://everything.curl.dev/get">curl</a>,
<p>Our first couple examples will use <a href="https://everything.curl.dev/install">curl</a>,
which you probably already have installed, to send queries directly to the API.</p>
<pre><code class="language-sh">curl -d &quot;INSERT INTO users (name) VALUES ('Tianyu')&quot; -H &quot;Content-Type: application/sql&quot; -X POST http://localhost:3803/sql
curl -d &quot;SELECT * FROM users&quot; -H &quot;Content-Type: application/sql&quot; -X POST http://localhost:3803/sql
Expand Down
4 changes: 3 additions & 1 deletion src/tutorial/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ docker run --rm -p 3803:3803 -v endb_data:/app/endb_data docker.io/endatabas/end
See [Installation](../reference/installation.md) for more ways to install
and build `endb`.

See [Try It!](try_it.md) for methods of connecting to Endb and running queries.

## Try Online

If you do not want to install a full Endb instance, you can try the
[Wasm Console](https://endatabas.com/console.html) instead.

The Wasm Console runs Endb directly in your web browser,
so you can ignore the following steps and jump straight to
so you can ignore the steps in [Try It!](try_it.md) and jump straight to
[Endb SQL Basics](sql_basics.md).

NOTE: The Wasm Console is not a full Endb instance.
Expand Down
2 changes: 1 addition & 1 deletion src/tutorial/try_it.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ and client libraries.

## curl

Our first couple examples will use [curl](https://everything.curl.dev/get),
Our first couple examples will use [curl](https://everything.curl.dev/install),
which you probably already have installed, to send queries directly to the API.

```sh
Expand Down

0 comments on commit 2c47b3d

Please sign in to comment.