Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.84 KB

README.md

File metadata and controls

51 lines (39 loc) · 1.84 KB

RPM builder for Rust Web Server

You'll need to install rustup nightly:

rustup toolchain install nightly

Steps to build:

  • Update rust toolchain

rustup update

  • Update spec accordingly to requirements
  • Download source tarball from Releases or Tags page
  • Unpack source tarball

tar -xvf rust-web-server-version.tar.gz

  • Rename folder

mv rust-web-server-version rws-version

  • Create new source tarball

tar -czvf rws-version.tar.gz rws-version/

  • Copy created tarball to SOURCES folder

cp rws-version.tar.gz path-to-sources/SOURCES/

To build execute:

rpmbuild -v -bb --clean SPECS/rws.spec

Check RPM package at RPMS/x86_64 folder.

To install execute:

sudo rpm -i --force rws-YOUR_VERSION.rpm

Note: if you have older version of rws installed, you may need to remove it manually by executing:

sudo rm /usr/bin/local/rws

To check installation:

rws

Community

Use GitHub discussions, issues and pull requests.

There is Rust Web Server Discord where you can ask questions and share ideas.

Follow the Rust code of conduct.

Donations

If you appreciate my work and want to support it, feel free to do it via PayPal.

Links

  1. Rust Web Server
  2. Rust TLS Server
  3. http-to-https-letsencrypt
  4. Rust Web Framework
  5. Create Debian Package
  6. Homebrew Formula Rust TLS Server
  7. Homebrew Formula Rust Web Server