Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sottenad/jService
A set of simple trivia service that serves the answers/questions pulled from jArchive
https://github.com/sottenad/jService
Last synced: about 2 months ago
JSON representation
A set of simple trivia service that serves the answers/questions pulled from jArchive
- Host: GitHub
- URL: https://github.com/sottenad/jService
- Owner: sottenad
- License: mit
- Created: 2014-02-07T16:09:20.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-01-30T23:56:15.000Z (8 months ago)
- Last Synced: 2024-06-10T22:10:38.483Z (4 months ago)
- Language: Ruby
- Homepage: http://jservice.io
- Size: 17.4 MB
- Stars: 488
- Watchers: 27
- Forks: 94
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Jservice.io is no longer running
Sorry for the inconvenience.### Requirements
* Ruby 3.1+
* Postgres### Installation
* clone this repo
* In terminal, cd into the directory you cloned into
* run `bundle install`
* set up the database:
* run postgres
* `createuser -P -d steveo` (password `stepheno`)
* `rails db:create`
* `rake db:create`
* run `rails s`
* run `rake 'get_clues[1,38]'` -- NOTE: this will grab approx 200K clues and takes hours. The arguments here are the range of season you want to grab. You can save some time and grab selected seasons by doing something like `rake get_clues[20,31]`, which would only get seasons 20 through 31
* visit `http://localhost:3000/api/random` or view `config\routes.rb` file for more
* shoot me a pull request to the readme with your app in the wild!