Skip to content
It's a pastebin that runs on Google App Engine! Lookie here,
Branch: master
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.
pastebin
static
templates
.gitignore
.gitmodules
LICENSE
README.md
app.go
app.yaml
cron.yaml
index.yaml
keys.yaml

README.md

gae-pastebin

Hi! Here's a pastebin that runs on Google App Engine!

Prerequisites

How to use

  • You'll need to download and extract Google App Engine Go SDK for Go
  • Clone the repository and initialize submodules with:
    • git submodule init
    • git submodule update
  • Go get dependencies with:
    • env GOPATH=<sdk path>/gopath go get github.com/gorilla/mux
    • env GOPATH=<sdk path>/gopath go get github.com/gorilla/csrf
    • ... and so on ...
  • Now launch the App Engine Development Server and you're good to go!
    • <sdk path>/goapp serve gae-pastebin
  • Deploy to your own Google account with:
    • <sdk path>/goapp deploy -application [YOUR_PROJECT_ID] -version [YOUR_VERSION_ID] gae-pastebin

Oh, make sure to update static/js/base.js with your own GA user id!
And keys.yaml to change the CSRFAuthKey, EncryptionK and GCPOAuthCID as well!

You can’t perform that action at this time.