An example repo.
This repository has been archived on 2026-03-31. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Find a file
2016-04-19 17:21:03 +09:00
public/images Commit 2016-04-19 17:21:03 +09:00
views Commit 2016-04-19 17:21:03 +09:00
app.rb Commit 2016-04-19 17:21:03 +09:00
config.ru Commit 2016-04-19 17:21:03 +09:00
readme.md Commit 2016-04-19 17:21:03 +09:00

CorgBot Example Repo

My girlfriend was interested in Ruby development, putting up a tutorial for her to break down as desired.

Steps

# Install Sinatra
gem install sinatra

# Run development server
rackup

How It Works

On each index (/) load, selects a random image from the public/images directory and returns a view (views/index.erb) that displays the image. Run with it as you will.

License

None, do what you want with it. Simply an example.