Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moncton Developer User Group

Static site generator for the Moncton Developer User Group site.

This is a Middleman application deployed to GitHub Pages. It's set up as an Organization page living at https://github.com/monctonug/monctonug.github.io

Dependencies

  • ruby: a reasonably recent version
  • bundler: gem install bundler
  • gems: bundle install

Running in Development Mode

bundle exec middleman server

Configuring Eventbrite Sync

Configuration can be done with environment variables. We use a Personal Token set in the EVENTBRITE_OAUTH_TOKEN environment variable. See the Eventbrite documentation for more details.

This project uses dotenv to manage environment variables in development mode (in the .env file).

Adding Slides

We host slides on Speaker Deck: https://speakerdeck.com/monctonug

To embed slides on a post, add speakerdeck_id: {ID} to the Frontmatter. The ID can be extracted from the embed code snippet.

Syncing Events

Syncing events with Eventbrite is done by running bundle exec ruby sync.rb

A blog article will be generated in ./source/articles/ for each event found. The event data is serialized to YAML and stored in the article's Frontmatter.

Deploying

Pushing your changes up to GitHub (this repo) will trigger a Travis CI build that uses ./deploy.sh to build and overwrite the static site at monctonug/monctonug.github.io.

About

Source for the Moncton Developer User Group.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages