Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Setup a new AppEngine project.
Change to the
<PROJECT-ID-HERE>to your AppEngine Project ID.
<APPENGINE-EMAIL-SENDER>with the email address of the owner of your AppEngine project. Then, replace
<RECIPIENT>with the email address that should receive new signup details.
Download and extract the Go AppEngine SDK from https://developers.google.com/appengine/downloads.
Optionally, download and install Sass if you'd like to make CSS changes
To test the app locally, run
/path/to/appengine/sdk/goapp serve .from the
Tweak the templates in
/path/to/golapa/templates/as desired, update CSS in
/path/to/golapa/static/css/sass/launch.scss(rebuild via the Sass instructions above), and add any images to
Deploy to AppEngine. Enter the base directory of this project and run
/path/to/appengine/sdk/goapp deploy .
Golapa now supports Turret.IO as an alternative to sending an email when a user signs up.
By default, users that sign up will have an attribute signedup set to 1 making it easy to create a target for those users
- Get the Turret.IO Go client
> goapp get github.com/turretIO/turret-io-go
- Add the Turret.IO Go client library to the list of imports in
import ( "appengine" "appengine/mail" "appengine/taskqueue" _ "fmt" "github.com/turretIO/turret-io-go" "log" "net/http" "net/url" "text/template" )
- Provide your API key and API secret (see https://tws.turret.io/apidoc) in
const api_key = "<YOUR TURRET.IO API KEY>" const api_secret = "<YOUR TURRET.IO API SECRET>"
Re-deploy your app and check for errors. Be sure to test that users are successfully being added to whatever targets you create with Turret.IO