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 +``` +