diff --git a/README.md b/README.md index a27ae65..443b97e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # roda-templates -Install prereq: sudo apt install puma, sudo gem install roda --no-document +For the single file app template, really the only file you need is the config.ru and run it with pum. + ## Setup ### Prereq installs @@ -40,6 +41,8 @@ This default to development mode. Run it in production mode with: RACK_ENV=production puma ``` +For development, just run it like that. For production, probably want to set up a systemd service. + ### Run it with systemd in production Copy the example myapp.service file to `/etc/systemd/system/` and edit accordingly. The example assumes a user named "myapp" with a group name "myapp", the application files are in `/opt/myapp/`, and puma is the system puma.