Skip to content

Commit

Permalink
Fix version links
Browse files Browse the repository at this point in the history
  • Loading branch information
ohsayan committed Aug 20, 2021
1 parent 1fbb52d commit fb80971
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 8 deletions.
27 changes: 21 additions & 6 deletions versioned_docs/version-0.7.0/16.building-from-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,52 @@
id: building-from-source
title: Building from source
---

Of course you can build it from source — but with quite a bit of hassle. The database server is a bit fussy with its builds, so you'll need quite a few tools before you can actually start using it.

### Step 1: Install pre-requisites

As Skytable is written in Rust, you'll have to install the Rust toolchain to build it (a little messy, but not too messy). Go to [this page](https://rustup.rs/) to set up Rust on your local machine.

Besides, the TLS/SSL components are written in C (OpenSSL) — so you'll need to install:
* A C compiler for your platform
* GNU Make (`make`)
* Perl

- A C compiler for your platform
- GNU Make (`make`)
- Perl

### Step 2: Clone the tag

Run this from your terminal:

```
git clone --branch v0.6.3 https://github.com/skytable/skytable.git
git clone --branch v0.7.0 https://github.com/skytable/skytable.git
```

:::tip Bonus tip
If you want to avoid downloading all the version history, run this instead:

```
git clone --depth 1 --branch v0.6.3 https://github.com/skytable/skytable.git
git clone --depth 1 --branch v0.7.0 https://github.com/skytable/skytable.git
```

:::

### Step 3: Build it!

Expecting that you're still in the same directory, run:

```
cd skybase && cargo build --release
```

:::note
This will take **crazy long** at times, so hold on until Cargo finishes building things
:::

### Step 4: Get the binaries

You'll need to copy `skyd` and `skysh` (or `skyd.exe` and `skysh.exe` if on Windows) from the `skybase/target/release` folder. Be sure to copy these **exact files** and not something else!

### Step 5: Run it!
Now start the database server by running `./skyd` and then start the interactive shell by running `./skysh`. You're ready to use the [actions](actions-overview)!

Now start the database server by running `./skyd` and then start the interactive shell by running `./skysh`. You're ready to use the [actions](actions-overview)!
4 changes: 2 additions & 2 deletions versioned_docs/version-0.7.0/2.getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Getting started with Skytable is easy 😊 (and fun!). You can get started with

### Step 1: Download a bundle

Head over to this [page](https://github.com/skytable/skytable/releases/v0.6.3) and download a version for your platform.
Head over to this [page](https://github.com/skytable/skytable/releases/v0.7.0) and download a version for your platform.

### Step 2: Make the files runnable

Expand All @@ -34,7 +34,7 @@ First of all, you need to have Docker installed and available on your `PATH` ; y
Open up a terminal and run:

```
docker create skytable/sdb:v0.6.3 --name skyvm
docker create skytable/sdb:v0.7.0 --name skyvm
```

:::note
Expand Down

0 comments on commit fb80971

Please sign in to comment.