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
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.
If you appreciate my work and want to support it, feel free to do it via PayPal.