This project is to help organizers to better promote their events.
It relies on the data stored on the GDG[x] Hub.
List of events Organizers can use short urls like http://devfest.gdgroups.org to promote devfests, or http://brussels.gdgroups.org (to be implemented) to promote events for GDG Brussels.
Url shortener Furthermore, it can be used as url shortener like http://gdgroups.org/4363aa to direct to a specific event's page. The statistics are shown at http://gdgroups.org/4363aa/analytics
There is no need for organizers to clone this repo or host this project on their servers.
Discuss issues and pull requests.
- Clone the git repository.
- Create and customize
server/config/local.env.js
based onserver/config/local.env.sample.js
. - Define the GOOGLE_API_KEY: The API key for your project, available from the Cloud Console
- Create a new project then go to APIs & Auth->APIs, activate Google+ API.
- Go to APIs & Auth->Credentials. Add Credentials->API key->Browser key->Create (keep
Any referrer allowed
set). - Define the SESSION_SECRET: The Client secret for your project, available from the Cloud Console
- Go to APIs & Auth->Credentials. Add Credentials->API key->OAuth 2.0 client ID->Web Application->Create.
bower install
npm install
mongod
ormongostart
(configured here).grunt serve
client
contains the AngularJS appserver
contains the logic for the url shortener
git fetch
git pull
grunt build
npm runScript configProd
nohup npm start &
- Check the server at http://gdgroups.org