Skip to content

Latest commit

 

History

History
88 lines (53 loc) · 1.89 KB

INSTALL.md

File metadata and controls

88 lines (53 loc) · 1.89 KB

Read Me > Install

Install

Make sure you removed previous executable:

sudo rm -f /usr/local/bin/rts #old path

sudo rm -f /usr/bin/rts

Download binary for you platform from releases page. There is a mirror for downloads on Google Drive.

x86 64-bit

Apple macOS

sudo cp rts /usr/local/bin

sudo chmod 777 /usr/local/bin/rts

Homebrew macOS

Open Rust TLS Server Homebrew formula for details.

Linux

sudo cp rts /usr/bin

sudo chmod 777 /usr/bin/rts

Debian

sudo dpkg -i --force-overwrite rts.deb

RPM

Replace YOUR_VERSION with version you downloaded.

sudo rpm -i --force rts-YOUR_VERSION.rpm

Portage ebuild

Open Rust TLS Server Portage ebuild for details.

Pacman package

Open Rust TLS Server Pacman package for details.

Windows

Copy executable to C:\WINDOWS\system32 folder.

ARM 64-bit

Linux

sudo cp rts /usr/bin

sudo chmod 777 /usr/bin/rts

Debian

sudo dpkg -i --force-overwrite rts.deb

Testing installation

To check installation execute the following code in the terminal:

$ rts

You will see similar output:

Rust TLS Server

Version: YOUR_VERSION

Authors: Bohdan Tsap [email protected]

Repository: https://github.com/bohdaq/rust-web-server

Desciption: rust-tls-server (rts) is a static content web-server written in Rust

Rust Version: RUST_VERSION

... Hello, rust-web-server is up and running: https://127.0.0.1:7878

Open browser, go to https://127.0.0.1:7878, you'll see default page.

Go back to terminal, press Ctrl + C (or CMD + C) to stop server.