Website for SplashKit SDK, hosted via GitHub pages
Start by ensuring you have ruby on your system. You must install rbenv to keep your ruby versions under control. Refer to rbenv's installation guide on how to do so.
Ensure you have installed ruby version 2.3.1:
$ rbenv install 2.3.1
$ rbenv rehash
Then, install bundler to sort out your ruby dependencies:
$ gem install bundler
$ bundle install
If you are using OS X El Capitan, install OpenSSL using brew
and set the bundle
config to point to this install:
$ brew install openssl
$ bundle config build.eventmachine --with-cppflags="-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib"
Develop using:
$ bundle exec middleman
Your website will be watched and hosted locally at http://localhost:4567/.
We currently rely on a Ruby Bootstrap gem compiled with Bootstrap 4.0.0-alpha4. Relevant SASS files can be found here.
Publish using:
$ rake publish
If this fails, try rebuilding the build folder from scratch then redeploy:
$ rm -rf build
$ rake deploy
Coming soon