Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.79 KB

README.md

File metadata and controls

54 lines (35 loc) · 1.79 KB

#Chadev.com

The future home of chadev.com. Woot!
We'll be designing and developing this publicly, so expect to see lots of changes and few bugs ;)

##Adding yourself to the developers list

We invite anyone who identifies as a developer or is interested in becoming a developer in Chattanooga to join our community.

For directions on how to add yourself see the Wiki page

Feel free to contact us via the #chadev IRC channel on freenode, or email [email protected] if you have trouble.

##Instructions for Local Development

To replicate our development environment a number of open source tools are required, specifically:

##Getting Started

###Install bundler

$ gem install bundler

###Have bundler resolve your dependencies

$ bundle install

###Run Jekyll Server

$ jekyll serve

###Open Browser

Navigate to http://localhost:4000/

##Acquiring an API key for the events page

  1. Go to the Google Developers Console.
  2. Create a new project.
  3. In the sidebar on the left, expand APIs & auth. Next, click APIs. In the list of APIs, make sure the calendar API is turned on.
  4. In the sidebar on the left, select Credentials.
  5. Click Create new Key and select Browser Key.
  6. Enter *localhost:4000/* in the "Accepts Requests From" text box and click create.
  7. Copy the new API key and replace the one located in the event.js file.
  8. It should look something like gapi.client.setApiKey('YOUR API KEY);.
  9. Wait a few moments, then navigate to http://localhost:4000/events/ to make sure it worked.