go read
a google reader clone built with go on app engine and angularjs
setting up a local dev environment
- install Python 2.7 if you don't have it and make sure it is in your $PATH. Google App Engine doesn't yet work with 3.*.
- install Git and Mercurial and make sure
git
andhg
are in your $PATH. - install the go app engine SDK
- set your
GOPATH
(to something like/home/user/mygo
), and make sure it's a directory that exists. (Note: Set this on your machine's environment, not in the go.bat file) - further commands that use
go
,dev_appserver.py
, andappcfg.py
all live in thegoogle_appengine
directory from the SDK. make sure it's in your $PATH. - download dependencies by running:
go get -d github.com/mjibson/goread/goapp
. this will download goread and all of its dependencies, and will stick them in your GOPATH. cd $GOPATH/src/github.com/mjibson/goread
git checkout master
(bug ingo get
)- in the
goapp
folder, copysettings.go.dist
tosettings.go
- from the
goread
directory, start the app withdev_appserver.py app.yaml
- view at localhost:8080, admin console at localhost:8000
developer notes
- press
alt+c
to show the miniprofiler window - press
c
to clear all feeds and stories, remove all your subscriptions, and reset your unread date
how to host your own on production app engine servers
- set up a local dev environment as described above
- create a new app engine application
- copy
app.sample.yaml
toapp.yaml
- in
app.yaml
, change the first line to contain the name of the application you just created - from the
goread
directory, deploy withappcfg.py update .