Here is how to run this on a basic Ubuntu/Debian server (I run it on a Raspberry Pi).
- Install Dependencies
apt-get install nginx
apt-get install ruby
gem install sinatra
gem install puma
- Copy
nginx.conf
to/etc/nginx/nginx.conf
- Restart Nginx with
systemctl restart nginx
- Run
rackup &
in the same folder as your app
The app should now be served via HTTP.