Skip to content

hateflow/hf-docs

Repository files navigation

Installation for Native Usage

Installing Dependencies on Linux

Install Ruby, NodeJS, and tools for compiling native ruby gems:

On Ubuntu 18.04+

sudo apt install ruby ruby-dev build-essential libffi-dev zlib1g-dev liblzma-dev nodejs patch

On Fedora 31+

sudo dnf install @development-tools redhat-rpm-config ruby ruby-devel libffi-devel zlib-devel xz-devel patch nodejs

Then, update RubyGems and install bundler:

sudo gem update --system
sudo gem install bundler

Installing Dependencies on macOS

First, install homebrew, then install xcode command line tools:

xcode-select --install

Agree to the Xcode license:

sudo xcodebuild -license

Install nodejs runtime:

brew install node

Update RubyGems and install bundler:

gem update --system
gem install bundler

Getting Set Up

  1. git clone https://github.com/jschoedl/neseps-docs.git
  2. cd neseps-docs
  3. bundle install

Note: if the above fails on installing nokogiri and using macOS see here for some helpful tips on things that might help.

Running / deploying

Development server on http://localhost:4567:

bundle exec middleman server

Building html files:

bundle exec middleman build