Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.
/ firefly Public archive

[DEPRECATED] Global GDG Event Directory

License

Notifications You must be signed in to change notification settings

gdg-x/firefly

 
 

Repository files navigation

Firefly

Build Status

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.

Contribute

Get involved: Join the chat at https://gitter.im/gdg-x/firefly

Discuss issues and pull requests.

Local Development

  1. Clone the git repository.
  2. Create and customize server/config/local.env.js based on server/config/local.env.sample.js.
  3. Define the GOOGLE_API_KEY: The API key for your project, available from the Cloud Console
  4. Create a new project then go to APIs & Auth->APIs, activate Google+ API.
  5. Go to APIs & Auth->Credentials. Add Credentials->API key->Browser key->Create (keep Any referrer allowed set).
  6. Define the SESSION_SECRET: The Client secret for your project, available from the Cloud Console
  7. Go to APIs & Auth->Credentials. Add Credentials->API key->OAuth 2.0 client ID->Web Application->Create.
  8. bower install
  9. npm install
  10. mongod or mongostart (configured here).
  11. grunt serve
  • client contains the AngularJS app
  • server contains the logic for the url shortener

Prod Deployment

  1. git fetch
  2. git pull
  3. grunt build
  4. npm runScript configProd
  5. nohup npm start &
  6. Check the server at http://gdgroups.org