Skip to content

Latest commit

 

History

History
62 lines (40 loc) · 1.61 KB

README.md

File metadata and controls

62 lines (40 loc) · 1.61 KB

Metaflux

Providing automated and actionable information on changes happening on the surface of the planet in real-time.

Development

Dependencies

  • Ruby 2
  • NodeJS

Getting started

  1. bundle and npm install to install application dependencies.
  2. gulp to start your jekyll site locally with browser-sync. This initiates the watch 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

Modifying SemanticUI

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

License

coming soon.