Interesting story, good for you. Did you initially market the book through your network and by blasting it all over social media or did you pay for advertising?
I suppose that's often what you see in newspapers when you read a short excerpt or short story based on a book, must be reasonably effective?
Hell, I have more revenue in presales in a little over 6 weeks than 18 months of trying to build SaaS apps.