Skip to content

Commit

Permalink
Add readme
Browse files Browse the repository at this point in the history
Explain how to setup the app.
  • Loading branch information
ewalk153 committed Feb 9, 2023
1 parent 7433164 commit c8409f5
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
# sample-ruby-app
# 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
```

0 comments on commit c8409f5

Please sign in to comment.