Book Calendar data based off of Goodreads
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
migrations
static
templates
.gitignore
.pyup.yml
LICENSE
Procfile
Readme.md
app.py
assets.js
author_list.py
config.yml.example
models.py
package.json
requirements.in
requirements.txt
webpack.config.js
yarn.lock

Readme.md

Tailgate

Generates a calendar of all the books for your followed authors on Goodreads. This provides you with information on when they're releasing new books.

Online version is at https://tailgate.herokuapp.com/

Local install

  1. Install NodeJS and Python
  2. Copy config.yml.example to config.yml
  3. Get a Goodreads Developer Key and add the key/secret to config.yml
  4. npm install
  5. pip install -r requirements.txt
  6. FLASK_DEBUG=true FLASK_APP=app.py flask run -p 8000
  7. Goto http://localhost:8000/

Heroku install

These steps have already been run to enable https://tailgate.herokuapp.com/

  1. Follow the standard Heroku setup for a Python app but use https://github.com/palfrey/tailgate.git instead of their example app
  2. Go into the app settings and do the following
    • Make sure both heroku/python and heroku/nodejs are in the Buildpacks list
    • Set FLASK_ENCRYPTION_KEY to something random
    • Set KEY and SECRET to your Goodreads key/secret
  3. Add "Heroku Postgres" to the addons for this app. "Hobby Dev" level is good enough.
  4. Add "Heroku Scheduler" to the addons for this app, and add python app.py to run every so often.
  5. Click "Open app" and make sure the app comes up ok, as the first request does the initial database migrations.