Prerequisites


No articles match the selected filter.

Required Software

The following tools are required to build and run your site locally:

Presidium uses:

  • npm to build, run and publish your site
  • ruby to run Jekyll
  • bundler to manage Jekyll dependencies

All required dependencies are managed via npm scripts and are local to each site you create, so there is no need to install and configure Jekyll.


OSX

NPM

Install using the node package or nvm

  • node v6.10 (LTS)
  • npm v3.10

Ruby

Requires ruby >= 2.1 available using homebrew:

$ brew install ruby

Bundler

$ gem install bundler

Linux/Debian

The following script can be used to provision a Linux/Debian-based environment:

#!/bin/bash

sudo apt-get update
sudo apt-get install -y curl git

# Install Ruby
# http://rvm.io/rvm/install
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
\curl -sSL https://get.rvm.io | bash -s stable --ruby=2.4.0
source ~/.rvm/scripts/rvm
rvm install 2.4.0 --quiet-curl
rvm use 2.4.0 --default
ruby --version

# Install bundler
gem install bundler

# Install NPM
\curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs

© Copyright 2018 SPAN Digital

Generated on Jun 20, 2018