See
.ruby-version
to confirm required version
- See
.nvmrc
to confirm required version- Also see, the following configurations which should agree with
.nvmrc
appveyor.yml
fornodejs_version
environment variablepackage.json
forengines.node
property value
Managing multiple versions of ruby and node for different projects can be a pain without a version
manager. This project is configured to work with rvm
and nvm
.
More Info:
Ruby Version Management
- On Windows, try: uru
- Could also try: Pik: Ruby version manager - chocolatey install, however pik: Ruby version manager is no longer maintained
- On Unix-y platforms, try: RVM: Ruby Version Manager
Node Version Management
- On Window, try nvm-windows
- On Unix-y platforms, try: nvm
Before continuing with Install, make sure you are using correct version of ruby and node.
If using nvm and
rvm`, you can install with:
rvm install "ruby-2.3.0"
nvm install 6.12.1
And you can switch to these versions after cd
ing into this directory using
rvm use
nvm use
Regardless if you are using a version manager and which version you are using, verify versions you have with these commands:
ruby --version
node --version
Finally verify bundle
command is installed with command: which bundle
and if
this command returns no result, install it with gem install bundler
. You can
check the version installed with the command bundle --version
.
$ bundle install
$ npm install
Run npm test
to run tests for website. These tests must pass and will be
validated by CI tool during pull request review. Any errors will block merging a
pull request.
Tests include:
To compile Jekyll, SASS and run a local server (with browsersync) you'll need to run $ npm start
and the site should open in your browser at the following address: http://localhost:3000.
To just build the site run npm run build
.