- Fork the codexx.github.io repo.
- Clone the fork into your development environment
- Copy the developer template _template/dev.md to _devs/YourHandle.md
- Replace the placeholder values with your details, see below for details about the file structure.
- Commit and push your changes to your fork.
- Submit a pull request to cavewoman/codexx.github.io.
Once you submit your pull request, someone will review it and let you know if there any changes or fixes that need to be made. If everything looks good then it will be pulled in and you will start showing up as a CodeXX member!
The list of member is autogenerated by reading a directory filled with individual markdown files for each dev. The structure of the files is as follows:
---
name: <Real Name>
github: <GitHub Username>
gravatar-id: <Gravatar ID>
urls:
- name: website
url: <URL>
- name: twitter
url: <URL>
- name: google+
url: <URL>
layout: default
---
Fields that are required are:
- name
- github
- gravatar-id
- layout
The name
field is for your name as you would like it to appear on the Devs page.
The github
field is for your GitHub username, this way we can link back to your GitHub profile (you do want people to see how awesome you are after all right? 😄 )
The gravatar-id
field contains your gravatar profile ID which is used to fetch your Gravatar ID to display. Gravatar is a free service which allows you to associate a single profile picture with an email address, or multiple addresses if desired, allowing you to have the same profile picture across multiple sites (GitHub included). The hash that you use in this field is an unsalted MD5 hash of your email address, don't worry if you don't know you hash that is easy to find.
As said in the previous section your Gravatar ID is the unsalted hash value of your email address. There are many very easy ways to find out what this is.
##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
If that fails you may need to run the Jekyll server with bundle exec
.
$ bundle exec jekyll serve
###Open Browser
Navigate to http://localhost:4000/
##Acquiring an API key for the events page
- Go to the Google Developers Console.
- Create a new project.
- 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.
- In the sidebar on the left, select Credentials.
- Click Create new Key and select Browser Key.
- Enter
*localhost:4000/*
in the "Accepts Requests From" text box and click create. - Copy the new API key and replace the one located in the event.js file.
- It should look something like
gapi.client.setApiKey('YOUR API KEY);
. - Wait a few moments, then navigate to http://localhost:4000/events/ to make sure it worked.