Git Product home page Git Product logo

isbnnetin's Introduction

isbn.net.in – A Quick way to search for online book prices in India

  • Searches multiple Indian ecommerce stores on-the-fly for book prices for given ISBN (the industry-standard number for any published book).
  • Just go to http://isbn.net.in/0142000280 as an example. Replace “0142000280” with any other ISBN and it will fetch and show you the latest prices.
  • While you’re waiting for the prices, you can also read the description of the book, see the book cover and read the reviews of the book.
  • All in all, a quick way of knowing how much the book costs and whether it is worth considering to buy.

How to Install for latest Ubuntu

MongoDB

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
Add to /etc/apt/sources.list: deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
sudo apt-get install mongodb-10gen

Memcache

sudo apt-get install memcached

Rails

cd isbn.net.in
bundle install

delayed_job

For development:

foreman start

For Ubuntu Linux / production:

Edit CODEDIR path in upstart/isbn.net.in-job-1.conf
sudo cp -v upstart/* /etc/init/
sudo start isbn.net.in

isbnnetin's People

Contributors

swaroopch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

isbnnetin's Issues

Memcache issues

Hi, I have mongodb installed on Ubuntu, I installed isbn.net on rails 3, when I search on an ISBN, I see the page properly but the prices are not fetched.
From the log I see,
Dalli::Server#connect localhost:11211
localhost:11211 failed (count: 0)
localhost:11211 failed (count: 1)
localhost:11211 is down
Dalli::Server#connect localhost:11211
localhost:11211 failed (count: 2)
localhost:11211 is still down (for 2.266 seconds now)
down_retry_delay not reached for localhost:11211 (0.999 seconds left)
MONGODB isbnnetin_development['delayed_backend_mongoid_jobs'].find({:handler=>/8120340078/}, {:_id=>1})
Book 8120340078 is already queued

Is there some setup I am missing ? it would be great if you can writeup mongodb setup for newbies ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.