Boomerang is a template for a basic GDG web site that can be deployed within 30 minutes.
See it in action: http://gdg-x.github.io/boomerang
There are multiple forked versions for Google App Engine
Update app/services/configService.js with values appropriate for your group:
- name: The name of your GDG
- id: The ID of the Google+ page for your GDG; for example, if your page URL is https://plus.google.com/u/0/b/115803993493374365281/, then the ID is 115803993493374365281
- google_api: The API key for your project, available from https://code.google.com/apis/console - create a new project, add Google+ API, and use the API key shown in 'Simple API Access' If you're using the new Cloud Console https://cloud.google.com/console add the Google+ API and use the basic BrowserKey registered app's API key
- pwa_id: The ID for a Picasa web album from which pictures will be drawn. If you do not have a Picasa web album for your group, you will want to comment out the photos tab in index.html.
- domain: Your custom domain name (or base appspot URL).
- cover.title: An announcement that will appear on the landing page.
- cover.subtitle: More text to support the landing page announcement.
- cover.button.text: Text for the announcement button.
- cover.button.url: The URL that the announcement button will open in another window.
- cover.url: Optional: If the cover image drawn from your Google+ page does not work with the default layout, you can specify a URL for a specific image instead.
- twitter, facebook, meetup: Update these with your chapter's social network handles. Setting them to '' will hide the icon.
- Edit the snippet details in the index.html to change how your page looks when it is shared.
Here you will install dependencies and tooling, build, minify, run static analysis, and more. You must have Node.js installed to use the build tools. Download it here. From the boomerang directory, run the following:
- npm install
- bower install
- gulp
- Unit tests can be run once via
gulp karma
or constantly viagulp karma-watch
. - Integration tests can be run via:
node node_modules/protractor/bin/webdriver-manager update
node node_modules/protractor/bin/webdriver-manager start
- Then in a separate terminal:
node node_modules/protractor/bin/protractor test/e2e/conf.js
- WebStorm or IntelliJ IDEA can make this testing a lot easier if you configure the idea to do it for you.
If you aren't using App Engine, you should be able to test locally with Node.js using the following:
- npm install http-server -g
- cd boomerang
- http-server -o
Deploy on your web server of choice (Apache, Nginx, etc). If you need a web server, Google App Engine's free tier should be more than sufficient for your chapter's needs.