config for prod, add postgresql gem
ignore public files for git
fix many bugs when creating book