Skip to content

convergencelabs/convergencelabs-com

Repository files navigation

convergencelabs.com website

This repository hosts the source for the convergencelabs.com. The website is built using the jeykll static site generator. The site is ultimately packaged up into a docker container built using the supplied jenkinsfile.

Dependencies

  • ruby, gem
  • jeykll >= 3.6.x
  • docker

Development Setup

  • Ensure development dependencies are installed for your platform.
  • bundle exec jekyll serve --incremental --drafts
  • Open http://localhost:4000

Jekyll Build

If you just want to build the site run jekyll build. The site will be generated into the _site directory.

Docker Build

If you just want to build the site run docker build -t convergencelabs-com .. The site will be generated into the _site directory.

Cross-posting to Medium

We're using a customized version of the jekyll-crosspost-to-medium plugin.

To execute the cross-post:

  1. Get your medium integration token from your settings.
  2. Set a couple environment variables:
    export MEDIUM_USER_ID=8214ea30605c
    export MEDIUM_INTEGRATION_TOKEN=<token>
    
  3. Add crosspost_to_medium: true to the post header
  4. Do a jekyll build. The plugin automatically keeps track of what is has posted in a .jekyll-crosspost_to_medium directory.