Skip to content

alexlsalt/rspec.github.io

This branch is 8 commits ahead of, 185 commits behind rspec/rspec.github.io:source.

Repository files navigation

rspec.github.io

Source for https://rspec.info

Requires a recent version of Ruby (tested on 2.5.3), bundler and imagemagick (to generate favicons).

Local Setup

  • brew install imagemagick (or your package manager of choice).
  • bundle install
  • middleman build

Local Developing

Run LIVERELOAD=true middleman server

Docker Setup + Development

If you don't have a local Ruby environment suitable to making changes to rspec.info, or prefer containerised development; you can find a 3rd party Docker image setup for this environment here: https://hub.docker.com/r/2performantirina/middleman-and-imagemagick

Deploying

Run bundle exec middleman build, which will compile the site to docs.

To deploy to staging you can create a PR against https://github.com/RSpec-Staging/rspec-staging.github.io/ or you can push temporarily with:

# Deploy your branch to source on staging
git push staging <branch>:source --force
# or if you have your branch checked out
git push staging HEAD:source --force

To deploy to production you should create a PR against https://github.com/rspec/rspec.github.io/.

Credits

Andrew Harvey - for his incredible effort of making this repository as it is now

About

source for rspec.info

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 62.8%
  • HTML 17.9%
  • Ruby 11.2%
  • JavaScript 8.1%