From c8409f598f92ebc3b331fdff30599dcd1964afe4 Mon Sep 17 00:00:00 2001 From: Eric Walker Date: Wed, 8 Feb 2023 21:03:27 -0500 Subject: [PATCH] Add readme Explain how to setup the app. --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3aba143..4041c35 100644 --- a/README.md +++ b/README.md @@ -1 +1,18 @@ -# sample-ruby-app \ No newline at end of file +# Sample Ruby Application for `piku` + +> Contributed by @ewalk153 + +This is a simple ruby [Sinatra](https://sinatrarb.com) that demonstrates running a ruby application on `piku`. + +To publish this app to `piku`, clone this repository run the following commands: + +```bash +git remote add piku piku@your_server:sample-ruby-app +git push piku main +``` + +Then you can set up an SSL cert and connect a domain by setting config variables like this: + +```bash +ssh piku@your_server config:set sample-ruby-app NGINX_SERVER_NAME=your_server +```