From ae5d4777679e5843d2d718966d0e28f5fb40bf58 Mon Sep 17 00:00:00 2001 From: silverwizard Date: Wed, 23 Aug 2023 23:21:11 -0400 Subject: [PATCH] Added Building comments and tools for running without Docker --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index aee5e4e..9a78267 100644 --- a/README.md +++ b/README.md @@ -126,3 +126,19 @@ Some notes: } } ``` + +# Building + +Requires Ruby 3.1 or better for support. + +On Debian or derivatives this requires `apt-get install ruby-dev` in order to allow eventmachine to work (which is a hard dependency for thin, the webserver we're using for charred. + +In order to run in normal use, simply run: + +``` +# sudo apt-get install ruby-dev bundler +# bundler install # on some distros this might be bundler3.1 +# cd src +# HOST=0.0.0.0 PORT=7878 RACK_ENV=production ruby app.rb +``` +