Skip to content

skypies/complaints

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run a local instance

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

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

About

AppEngine apps for stop.jetnoise.net, a mobile-friendly site that handles most of the jetnoise complaints for SFO.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published