-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve download instructions in tutorial
- Loading branch information
Showing
5 changed files
with
93 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
examples/official-site/your-first-sql-website/tutorial-install-any.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Download SQLPage: the SQL website framework | ||
|
||
SQLPage is a small executable file that will take requests to your website, execute the SQL files you write, | ||
and render the database responses as nice web pages. | ||
|
||
[Download the latest SQLPage](https://github.com/lovasoa/SQLpage/releases) for your operating system. | ||
In the _release assets_ section, you will find files named `sqlpage-windows.zip`, `sqlpage-linux.tgz`, and `sqlpage-macos.tgz`. | ||
Download the one that corresponds to your operating system, and extract the executable file from the archive. | ||
|
||
> **Note**: On Mac OS, Apple blocks the execution of downloaded files by default. The easiest way to run SQLPage is to use [Homebrew](https://brew.sh). | ||
> **Note**: Advanced users can alternatively install SQLPage using: | ||
> - [docker](https://hub.docker.com/repository/docker/lovasoa/sqlpage/general) (docker images are also available for ARM, making it easy to run SQLPage on a Raspberry Pi, for example), | ||
> - [brew](https://formulae.brew.sh/formula/sqlpage) (the easiest way to install SQLPage on Mac OS), | ||
> - [nix](https://search.nixos.org/packages?channel=unstable&show=sqlpage) (declarative package management for reproducible deployments), | ||
> - [scoop](https://scoop.sh/#/apps?q=sqlpage&id=305b3437817cd197058954a2f76ac1cf0e444116) (a command-line installer for Windows), | ||
> - or [cargo](https://crates.io/crates/sqlpage) (the Rust package manager). | ||
You can also find the source code of SQLPage on [GitHub](https://github.com/lovasoa/SQLpage), [install rust](https://www.rust-lang.org/tools/install) on your computer, and compile it yourself with `cargo install sqlpage`. | ||
|
||
See the instructions for [MacOS](?is_macos=1#download), or for [Windows](?is_windows=1#download). |
17 changes: 17 additions & 0 deletions
17
examples/official-site/your-first-sql-website/tutorial-install-macos.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Download SQLPage for Mac OS | ||
|
||
On Mac OS, Apple blocks the execution of downloaded files by default. The easiest way to run SQLPage is to use [Homebrew](https://brew.sh). | ||
Open a terminal and run the following commands: | ||
|
||
```sh | ||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | ||
brew install sqlpage | ||
sqlpage | ||
``` | ||
|
||
> **Note**: Advanced users can alternatively install SQLPage using | ||
> [docker](https://hub.docker.com/repository/docker/lovasoa/sqlpage/general), | ||
> [nix](https://search.nixos.org/packages?channel=unstable&show=sqlpage), | ||
> or [cargo](https://crates.io/crates/sqlpage). | ||
> **Not on Mac OS?** See the instructions for [Windows](?is_windows=1#download), or for [Other Systems](?is_macos=0#download). |
14 changes: 14 additions & 0 deletions
14
examples/official-site/your-first-sql-website/tutorial-install-windows.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Download the SQLPage executable for Windows | ||
|
||
SQLPage offers a small executable file (`sqlpage.exe`) that will take requests to your website, | ||
execute the SQL files you write, and render the database responses as nice web pages. | ||
|
||
[Download the latest SQLPage for Windows](https://github.com/lovasoa/SQLpage/releases/latest/download/sqlpage-windows.zip). | ||
Download the file, and extract the executable file from the zip archive. | ||
|
||
> **Note**: Advanced users can alternatively install SQLPage using | ||
> [docker](https://hub.docker.com/repository/docker/lovasoa/sqlpage/general), | ||
> [scoop](https://scoop.sh/#/apps?q=sqlpage&id=305b3437817cd197058954a2f76ac1cf0e444116), | ||
> or [cargo](https://crates.io/crates/sqlpage). | ||
> **Not on Windows?** See the instructions for [Mac OS](?is_macos=1#download), or for [Other Systems](?is_windows=0#download). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters