Skip to content

CoreCppIL/zeppelin

 
 

Repository files navigation

Project Zeppelin / GDG DevFest 2014 site template

About

Project Zeppelin allows you to setup awesome GDG DevFest site in 5 minutes.

Project is built on top of Jekyll - simple, blog-aware, static site generator. Jekyll also happens to be the engine behind GitHub Pages, which means you can use Jekyll to host your website from GitHub’s servers for free. Learn more about Jekyll.

Template is brought by GDG Lviv team.

Automated version with Grunt https://github.com/gdg-x/zeppelin-grunt

Features

  • Easy to setup
  • Simple and responsive design
  • Integrated speakers and sessions management
  • SVG icons
  • SEO friendly

Quick-start guide

  1. Fork this repo
  2. Clone locally
  3. Update _config.yml
  4. Select what content blocks do you need
  5. Push changes to gh-pages branch
  6. Enjoy your awesome DevFest site at http://[your github name].github.io/zeppelin/

Or watch project presentation from GDG[x] Townhall meeting. Slides available here

Local development

The site is a Jekyll project built with the github-pages gem, so a local build matches what GitHub Pages produces. It needs Ruby ≥ 2.7 (the github-pages gem won't run on older Rubies — note that the system Ruby shipped with macOS is too old). The repo pins a known-good version in .ruby-version, so the steps below use rbenv to install exactly that.

macOS

# 1. Ruby toolchain (Homebrew assumed installed)
brew install rbenv ruby-build
echo 'eval "$(rbenv init - zsh)"' >> ~/.zshrc && exec zsh   # one-time shell setup
rbenv install        # installs the version from .ruby-version

# 2. Project gems
gem install bundler
bundle install

# 3. Build + serve with live reload
bundle exec jekyll serve -w

The site runs at http://localhost:4000 and rebuilds on every file change. Stop it with Ctrl-C (or pkill -f jekyll if you started it detached).

Note: changes to HTML and _data files are regenerated automatically, but after editing _config.yml you must restart the server.

Windows (via WSL2)

Install WSL2 (instructions) from an Administrator PowerShell:

wsl --install

Reboot if prompted, then check the distro is WSL version 2 with wsl -l -v. From the Ubuntu console, install the build tools, then follow the same rbenv flow as macOS (using ~/.bashrc instead of ~/.zshrc):

sudo apt update
sudo apt install -y git curl build-essential libssl-dev libreadline-dev zlib1g-dev

# rbenv + ruby-build
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash
echo 'eval "$(~/.rbenv/bin/rbenv init - bash)"' >> ~/.bashrc && exec bash

rbenv install          # installs the version from .ruby-version
gem install bundler
bundle install
bundle exec jekyll serve -w

Styling / Sass

SCSS sources live in _sass/ with css/main.scss as the entry point. It is compiled to css/main.css automatically by Jekyll's built-in jekyll-sass-converter — both locally (jekyll serve/build) and on GitHub Pages. Do not edit or commit css/main.css; it is generated output (git-ignored). Edit the partials under _sass/ instead.

This project previously compiled Sass with Compass via a custom plugin in _plugins/, which required committing the built CSS by hand. That pipeline has been removed in favor of Jekyll's native Sass support.

Resource optimizations (optional)

You can optimize images and minify css and javascript automatically (for now only on Windows). But for Mac OS users available amazing tool - imageoptim. Thanks @raphaelsavina for link. Optimize all images by running this script from /automation/images/ folder:

    all_image_optimization.bat -d -jtran -pout -pquant -optip -gsicle -svgo

To minify CSS and JS run minify_js.bat (for Windows) and minify_js.sh (for Linux and MacOS) from /automation/minifying/ folder:

    minify_js.bat

Learn more about available optimization options from documentation.

Documentation

Quick-start guide is not enough? Checkout full documentation.

Used libraries

Who is using template?

Going to use template? Go on! The only thing we ask - let us know at lviv@gdg.org.ua so we can include you to this list, or make a pull request.

GDG DevFest Ukraine 2014 GDG DevFest Istanbul 2014 GDG Bangalore Site
GDG DevFest Omsk 2014 2014 南阳 GDG Devfest 大会 DevFest Nordeste 2014
GDG DevFest The Netherlands DevFest Centro-Oeste 2014 Android DevFest Space Coast
DevFest SP 2014 DevFest in Baroda GDG Hi Pic (France)
GDG DevFest Córdoba 2014 GDG DevFest Düsseldorf 2014 GDG Makerere DevFest 2014
GDG Dublin DevFest 2014 GDG Busitema DevFest 2014 DevFest Vienna 2014
Android Wear DevFest GDG SLAU DevFest 2014 Lima DevFest
GDG Korea DevFair 2014 GDG DevFest Kota Kinabalu 2014 GDG DevFest Belgium
DevFest Praha 2014 GDG DevFest Kosice GDG DevFest Cagayan de Oro
DevFest Birgunj GDG DevFest Poland GDG DevFest Silicon Valley
DevFest Chennai 2014 GDG DevFest Bari GDG DevFest Ahmedabad
GDG DevFest Sri Lanka GDG DevFest Tunis GDG DevFest Kozhikode
GDG DevFest Argentina GDG DevFest Bhubaneswar GDG DevFest Miage Gi
GDG DevFest NORTE GDG Devfest Nyeri 2014 GDG DevFest Paris
GDG Akure MENAT GDG Summit 2014 Women Techmakers Istanbul 2015
GDG DevFest Mallorca Michigan GDG DevFest 2015 International Women's Day
Women Techmakers Tbilisi 2015 Android Xtended GDG Bingham University
JSday Maceio 2015 DevFest Nordeste 2015 GDG DevFest Vijayawada 2015
Geek Night Recife IO Extended 2016 Madrid AngularCamp
Mobile Era 2016 GDG Francisco Beltrão Women Techmakers Istanbul 2016
Droidcon Paris 2015 Android Makers Paris 2017 Heidelberger Symposium 2017
DevFest Foumban website NorthSec 2018 SwiftFest 2018

Contributors

See list of contributors

Maintainers: @tasomaniac and @ozasadnyy.

License

Project is published under the MIT license. Feel free to clone and modify repo as you want, but don't forget to add reference to authors :)

About

The Awesome Core C++ Conference Website

Topics

Resources

License

Stars

4 stars

Watchers

3 watching

Forks

Packages

 
 
 

Contributors

Languages

  • HTML 54.8%
  • SCSS 29.8%
  • JavaScript 13.5%
  • Batchfile 1.5%
  • Other 0.4%