This repository contains the public-facing documentation for 9Spokes data schemas and any future Open Platform documentation.
The content of the source/
directory are processed by Slate Docs which produces static HTML assets under the build/
directory.
- Ruby >= 2.3
- NodeJs
- Bundler
gem update --system
gem install bundler
run:
bundle install
run:
bundle exec middleman server
Run the Ruby docker image:
docker run -ti -p 4567:4567 -v `pwd`:/app ruby:2.7 /bin/bash
Inside the Docker image, run:
$ apt update && apt install nodejs -y
$ cd /app
$ bundle config set --local path 'vendor/bundle'
$ bundle install
$ bundle exec middleman server
Run by opening your browser to http://localhost:4567/