Add compilation on ARM docs
authorJacob Casper <dev@jacobcasper.com>
Sat, 25 Apr 2020 18:59:49 +0000 (13:59 -0500)
committerJacob Casper <dev@jacobcasper.com>
Sat, 25 Apr 2020 18:59:49 +0000 (13:59 -0500)
README.md

index 8c59cd9..7692723 100644 (file)
--- a/README.md
+++ b/README.md
@@ -5,3 +5,12 @@ A simple service that allows creation of a new git repository without all of the
 ## Requirements
 
 - `netcat`
+- `rustc` stable
+- An OpenSSL lib to compile/link against (rewriting in a compiled language was a mistake)
+
+## Compiling on ARM
+
+The whole point of this lib was that it would run on my RPi3+. It doesn't do that off the bat anymore, thanks Rust.
+
+- Compile yourself a version of the OpenSSL source: `curl https://www.openssl.org/source/openssl-$VERSION.tar.gz | tar xz -C /tmp && cd openssl-$VERSION && ./config shared && make`
+- Finally build the Piece-of-Software: `OPENSSL_LIB_DIR=/tmp/openssl-$VERSION OPENSSL_INCLUDE_DIR=/tmp/openssl-$VERSION/include cargo build --release`