Skip to content

urimaro/rspec.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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; use the following scripts to build the included Docker image and build the site in the containerised environment instead.

# Start the middleman server. Access site at http://localhost:4567
bin/server

# Build the site in the `docs/` directory. Replacement for `middleman build`.
bin/build

# Start a console inside the docker container. Useful for debugging or running commands locally.
bin/console

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/.

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

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • SCSS 57.9%
  • CSS 13.0%
  • Slim 11.6%
  • Ruby 7.8%
  • JavaScript 6.9%
  • HTML 1.7%
  • Other 1.1%