Skip to content

Commit

Permalink
Ensure TOC links in README work correctly (surrealdb#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrussell authored Sep 17, 2022
1 parent b4b2ceb commit 59be26e
Showing 1 changed file with 9 additions and 33 deletions.
42 changes: 9 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ View the [features](https://surrealdb.com/features), the latest [releases](https
- [Run using Docker](#run-using-docker)
- [Getting started](#getting-started)
- [Client side apps](#client-side-apps)
- [Server side code](#server-side-apps)
- [Server side code](#server-side-code)
- [Quick look](#quick-look)
- [Why SurrealDB](#why-surrealdb)
- [Database, API, and permissions](#database-api-and-permissions)
Expand Down Expand Up @@ -133,14 +133,8 @@ For guidance on installation, development, deployment, and administration, see o

SurrealDB is designed to be simple to install and simple to run - using just one command from your terminal. In addition to traditional installation, SurrealDB can be installed and run with HomeBrew, Docker, or using any other container orchestration tool such as Docker Compose, Docker Swarm, Rancher, or in Kubernetes.

<h4>
<a href="https://surrealdb.com/install#gh-dark-mode-only">
<img width="20" src="/img/white/apple.svg">
</a>
<a href="https://surrealdb.com/install#gh-light-mode-only">
<img width="20" src="/img/black/apple.svg">
</a>
&nbsp; Install on macOS
<h4><a href="https://surrealdb.com/install#gh-dark-mode-only"><img width="20" src="/img/white/apple.svg"></a><a href="https://surrealdb.com/install#gh-light-mode-only"><img width="20" src="/img/black/apple.svg"></a>
&nbsp;Install on macOS
</h4>

The quickest way to get going with SurrealDB on macOS is to use Homebrew. This will install both the command-line tools, and the SurrealDB server as a single executable. If you don't use Homebrew, follow the instructions for Linux below to install SurrealDB.
Expand All @@ -149,14 +143,8 @@ The quickest way to get going with SurrealDB on macOS is to use Homebrew. This w
brew install surrealdb/tap/surreal
```

<h4>
<a href="https://surrealdb.com/install#gh-dark-mode-only">
<img width="20" src="/img/white/linux.svg">
</a>
<a href="https://surrealdb.com/install#gh-light-mode-only">
<img width="20" src="/img/black/linux.svg">
</a>
&nbsp; Install on Linux
<h4><a href="https://surrealdb.com/install#gh-dark-mode-only"><img width="20" src="/img/white/linux.svg"></a><a href="https://surrealdb.com/install#gh-light-mode-only"><img width="20" src="/img/black/linux.svg"></a>
&nbsp;Install on Linux
</h4>

The easiest and preferred way to get going with SurrealDB on Unix operating systems is to install and use the SurrealDB command-line tool. Run the following command in your terminal and follow the on-screen instructions.
Expand All @@ -165,14 +153,8 @@ The easiest and preferred way to get going with SurrealDB on Unix operating syst
curl -sSf https://install.surrealdb.com | sh
```

<h4>
<a href="https://surrealdb.com/install#gh-dark-mode-only">
<img width="20" src="/img/white/windows.svg">
</a>
<a href="https://surrealdb.com/install#gh-light-mode-only">
<img width="20" src="/img/black/windows.svg">
</a>
&nbsp; Install on Windows
<h4><a href="https://surrealdb.com/install#gh-dark-mode-only"><img width="20" src="/img/white/windows.svg"></a><a href="https://surrealdb.com/install#gh-light-mode-only"><img width="20" src="/img/black/windows.svg"></a>
&nbsp;Install on Windows
</h4>

The easiest and preferred way to get going with SurrealDB on Windows is to install and use the SurrealDB command-line tool. Run the following command in your terminal and follow the on-screen instructions.
Expand All @@ -181,14 +163,8 @@ The easiest and preferred way to get going with SurrealDB on Windows is to insta
iwr https://windows.surrealdb.com -useb | iex
```

<h4>
<a href="https://surrealdb.com/install#gh-dark-mode-only">
<img width="20" src="/img/white/docker.svg">
</a>
<a href="https://surrealdb.com/install#gh-light-mode-only">
<img width="20" src="/img/black/docker.svg">
</a>
&nbsp; Run using Docker
<h4><a href="https://surrealdb.com/install#gh-dark-mode-only"><img width="20" src="/img/white/docker.svg"></a><a href="https://surrealdb.com/install#gh-light-mode-only"><img width="20" src="/img/black/docker.svg"></a>
&nbsp;Run using Docker
</h4>

Docker can be used to manage and run SurrealDB database instances without the need to install any command-line tools. The SurrealDB docker container contains the full command-line tools for importing and exporting data from a running server, or for running a server itself.
Expand Down

0 comments on commit 59be26e

Please sign in to comment.