A fake auction house I made for a school project.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
the_auctionhouse/src/app.rb

22 lines
334 B

3 years ago
#!/usr/bin/ruby -w
require "sinatra"
3 years ago
require "sinatra/reloader" if ARGV[0] == "debug"
3 years ago
require "slim"
require "sqlite3"
require "sassc"
3 years ago
def get_random_subtitle
subtitles = File.readlines "misc/subtitles.txt"
subtitles.sample
end
3 years ago
get "/" do
slim :index
end
get "/style.css" do
sass :"stylesheets/style", style: :compressed
3 years ago
end