Providing automated and actionable information on changes happening on the surface of the planet in real-time.
- Ruby 2
- NodeJS
bundle
andnpm install
to install application dependencies.gulp
to start your jekyll site locally with browser-sync. This initiates thewatch
method which monitors for file changes, builds the jekyll site and refreshes your browser, automatically.
In more detail, here's how you get started on a Mac:
# install homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# install npm
brew install node
# install gulp
npm install gulp-cli -g
npm install gulp -D
# get the latest version of Ruby using rvm.
# yes you need the leading slash.
\curl -sSL https://get.rvm.io | bash
rvm install ruby-2.4.1
# install jekyll
gem install jekyll
# install bundler
gem install bundler
# install dependencies - do this from the root of the project
npm install
bundle install
# run the thing!
gulp
To make any changes to the site CSS, modify the default
SemanticUI theme (/semantic/src/themes/default). The global settings such as typography and color schemes are defined in site.variables.
After modifying the default theme, build it with gulp build
(from within /semantic
) and the site's CSS will be updated.
Thoughts:
- we should integrate SemanticUI's gulp functions with our root gulpfile.js.
- we can pull SemanticUI out of this repo completely when we want to share it with other projects
coming soon.