Download and run the site locally:
go get github.com/skypies/complaints/app/frontend # pulls down dependencies
mv complaints/config/test-values.go.sample complaints/config/test-values.go # setup test config
cd $GOPATH/github.com/skypies/complaints
go run ./app/frontend/*go` # build & run locally
- Look at http://localhost:8080/ (appengine admin panel is http://localhost:8000/)
Deploy an instance of the site to your google cloud project:
cd $GOPATH/github.com/skypies/complaints
export YOURPROJECT=serfr0-1000
gcloud datastore --project=$YOURPROJECT create-indexes app/index.yaml
gcloud app deploy --project=$YOURPROJECT app/dispatch.yaml
gcloud app deploy --project=$YOURPROJECT app/queue.yaml
gcloud app deploy --project=$YOURPROJECT app/cron.yaml
gcloud app deploy --project=$YOURPROJECT --version=1 app/frontend
gcloud app deploy --project=$YOURPROJECT --version=1 app/overnight
The test-values.go.sample
sample file has no passwords in, so
Facebook login won't be working.
Run the command line tool:
cd $GOPATH/github.com/skypies/complaints
export GOOGLE_APPLICATION_CREDENTIALS=~/auth/token.json
go run cmd/cdb/cdb/go -h