/goread

google reader clone in go on app engine

Primary LanguageGoISC LicenseISC

go read

a google reader clone built with go on app engine and angularjs

The original goread project has been archived. This is a fork, updated for compatibility with go111 by Michael Blakeley.

setting up a local dev environment

  1. Install Python 2.7 and make sure it is in your PATH. (Google App Engine doesn't yet work with Python 3.)
  2. Install Git and Mercurial and make sure git and hg are in your PATH.
  3. Install the Go App Engine SDK.
  4. Set your GOPATH (to something like /home/user), and make sure it's a directory that exists. (Note: set this on your machine's environment, not in the go.bat file.)
  5. cd $GOPATH/src/github.com/mblakele/goread/app.
  6. Copy app.sample.yaml to app.yaml.
  7. cd ..
  8. Copy settings.go.dist to settings.go.

running locally

  1. (cd app && dev_appserver.py app.yaml) (On Windows, you may need python C:\go_appengine\dev_appserver.py app.yaml)
  2. View at localhost:8080, admin console at localhost:8000.

resetting the local environment

  1. Press c to clear all feeds and stories, remove all your subscriptions, and reset your unread date.

self host on production app engine servers

  1. Set up a local dev environment as described above.
  2. Create a new app engine application.
  3. In app.yaml, change the first line to contain the name of the application you just created.
  4. Deploy: (cd app && gcloud app deploy deploy && gcloud app deploy cron.yaml)

other useful commands

(cd app && gcloud app deploy --no-promote)
(cd app && gcloud app deploy)
(cd app && gcloud app deploy cron.yaml)
gcloud app logs tail -s default
gcloud app browse