-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explain how to setup the app.
- Loading branch information
Showing
1 changed file
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |