{"id":17034852,"url":"https://github.com/rantav/recipitor-frontend","last_synced_at":"2026-04-13T13:31:52.573Z","repository":{"id":66765146,"uuid":"1346026","full_name":"rantav/recipitor-frontend","owner":"rantav","description":"www.recipitor.com frontend","archived":false,"fork":false,"pushed_at":"2011-05-11T07:28:34.000Z","size":30872,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-30T17:21:36.218Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"www.recipitor.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rantav.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-02-09T11:15:46.000Z","updated_at":"2013-10-07T12:26:09.000Z","dependencies_parsed_at":"2023-02-20T11:00:52.742Z","dependency_job_id":null,"html_url":"https://github.com/rantav/recipitor-frontend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rantav/recipitor-frontend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rantav%2Frecipitor-frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rantav%2Frecipitor-frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rantav%2Frecipitor-frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rantav%2Frecipitor-frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rantav","download_url":"https://codeload.github.com/rantav/recipitor-frontend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rantav%2Frecipitor-frontend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31754844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T13:27:56.013Z","status":"ssl_error","status_checked_at":"2026-04-13T13:21:23.512Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T08:44:46.360Z","updated_at":"2026-04-13T13:31:52.556Z","avatar_url":"https://github.com/rantav.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Recipitor frontend\n==================\n\nThis is the code for the frontend currently hosted at http://recipitor.heroku.com/\n\n\nInstallation and dependencies\n=============================\nHere's a list of the current versions of rails, rake heroku etc. It's not absolutely required that you used all of the same versions but if something goes crypticly wrong then versions are a good place to start checking for.\n\n$ rails --version\nRails 3.0.4\n$ gem --version\n1.5.0\n$ rake --version\nrake, version 0.8.7\n$ bundle -v\nBundler version 1.0.10\n$ ruby -v\nruby 1.9.2p136 (2010-12-25 revision 30365) [i386-darwin9.8.0]\n\nWe also have jruby, but not currently used:\n$ jruby -v\njruby 1.6.0.RC1 (ruby 1.8.7 patchlevel 330) (2011-01-10 769f847) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_22) [darwin-x86_64-java]\n\nImageMagick\n-----------\nImageMagic is a very popular image manipulation library. http://www.imagemagick.org/script/index.php\nIt has a native linux version and a MacPorts version (or fink version) as well.\n\nFor image manipulation I'm using rails Paperclip (https://github.com/thoughtbot/paperclip) which depends on ImageMagic. (Heroku have ImageMagic installed natively).\nSo in order to work with images in the frontend you'll need to install it. See instructions here http://www.imagemagick.org/script/binary-releases.php\n\nTo verify installation you should see:\n$ convert\nVersion: ImageMagick 6.6.6-3 2011-02-10 Q16 http://www.imagemagick.org\nCopyright: Copyright (C) 1999-2010 ImageMagick Studio LLC\n...\n\nGetting started\n===============\nAfter having installed of the the dependencies run:\n\n$ gem install bundler\n$ bundle install\n$ rake db:migrate\n$ rake server\n\nBrowse \n* http://localhost:3000 for the static html\n* http://localhost:3000/receipts for the application main page\n\nTroubleshooting\n===============\nValidate gems are installed using\n$ bundle check\nif you wish to see server log in the console use\n$ ruby script/rails server\n\n\nRun Tests\n=========\n$ rake test\n\nDebugging\n=========\nDebugging with ruby 1.9.3 and rails 3.0.x is not rully functioning on all systems.\nUsually what you need to do is install the following:\n $ sudo gem install ruby-debug\n\nTo test that it worked:\n\n $ rdebug --version\n ruby-debug 0.11\n\nFor me, that wasn't enough so I followed the instructions at http://dirk.net/2010/04/17/ruby-debug-with-ruby-19x-and-rails-3-on-rvm/\nHence:\n # Replace the path with your rvm install path of the current ruby you're using.\n $ gem install ruby-debug19 -- -with-ruby-include=/Users/ran/.rvm/src/ruby-1.9.2-p136\n # and optionally:\n $ gem install  ruby-debug-ide19  -- -with-ruby-include=/Users/ran/.rvm/src/ruby-1.9.2-p136\n $ bundle install # this will run the line \"gem 'ruby-debug19', :require =\u003e 'ruby-debug'\" from this file\n\nNow try again\n $ rdebug --version\n\nNext, place some breakpoint in your code. where you want to break simply type \"debugger\" as in:\n\n   def img_url(style = nil, include_updated_timestamp = true)\n     debugger\n     url = Paperclip::Interpolations.interpolate('/rcpt/:id/:style/:filename', img, style || img.default_style)\n     include_updated_timestamp \u0026\u0026 img.updated_at ? [url, img.updated_at].compact.join(url.include?(\"?\") ? \"\u0026\" : \"?\") : url\n  end\n\n\nNext, Uncomment this line at Gemfile\n# gem 'ruby-debug19', :require =\u003e 'ruby-debug'\nThen\n $ bundle install\nThen run the code\n\n...Then run the code:\n$ rake test # to debug tests\n$ rails server # to debug a server\nBrowse http://localhost:3000\n\n\nTroubleshooting\n===============\nValidate gems are installed using\n$ bundle check\nif you wish to see server log in the console use\n$ ruby script/rails server\n\n\nRun Tests\n=========\n$ rake test\n\nDebugging\n=========\nDebugging with ruby 1.9.3 and rails 3.0.x is not rully functioning on all systems.\nUsually what you need to do is install the following:\n $ sudo gem install ruby-debug\n\nTo test that it worked:\n\n $ rdebug --version\n ruby-debug 0.11\n\nFor me, that wasn't enough so I followed the instructions at http://dirk.net/2010/04/17/ruby-debug-with-ruby-19x-and-rails-3-on-rvm/\nHence:\n # Replace the path with your rvm install path of the current ruby you're using.\n $ gem install ruby-debug19 -- -with-ruby-include=/Users/ran/.rvm/src/ruby-1.9.2-p136\n # and optionally:\n $ gem install  ruby-debug-ide19  -- -with-ruby-include=/Users/ran/.rvm/src/ruby-1.9.2-p136\n $ bundle install # this will run the line \"gem 'ruby-debug19', :require =\u003e 'ruby-debug'\" from this file\n\nNow try again\n $ rdebug --version\n\nNext, place some breakpoint in your code. where you want to break simply type \"debugger\" as in:\n\n   def img_url(style = nil, include_updated_timestamp = true)\n     debugger\n     url = Paperclip::Interpolations.interpolate('/rcpt/:id/:style/:filename', img, style || img.default_style)\n     include_updated_timestamp \u0026\u0026 img.updated_at ? [url, img.updated_at].compact.join(url.include?(\"?\") ? \"\u0026\" : \"?\") : url\n  end\n\n\nNext, Uncomment this line at Gemfile\n# gem 'ruby-debug19', :require =\u003e 'ruby-debug'\nThen\n $ bundle install\n\n...Then run the code:\n$ rake test # to debug tests\n$ rails server # to debug a server\n\nBrowse \n* http://localhost:3000 for the static html\n* http://localhost:3000/receipts for the application main page\n\n\nTroubleshooting\n===============\nValidate gems are installed using\n$ bundle check\nif you wish to see server log in the console use\n$ ruby script/rails server\n\n\n\nRun Tests\n=========\n$ rake test\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frantav%2Frecipitor-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frantav%2Frecipitor-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frantav%2Frecipitor-frontend/lists"}