Apprentice News is a Hacker News clone built by the GDS apprentice technologists.
Apprentice News is built using Ruby, Sinatra, and Postgres SQL. It has tests using RSpec and Capybara.
Assuming you have Bundler and Postgres installed:
# Install the dependencies
bundle install
# Create the database
ruby create-database.rb
# Run the application
bundle exec rackup -p 3000
bundle exec rspec