Git Product home page Git Product logo

website-6's Introduction

The official Cucumber website (cucumber.io) Circle CI

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

ruby

Installation

  1. Run the following commands:
gem install bundler
bundle install
bundle exec foreman start
  1. Point a browser to http://localhost:5000

How it works

We use Rack to mount several smaller rack apps that serve different bits of content that make up the site. The individual rack apps are stored under apps and are loaded by config.ru

See this blog post for more information about this design.

We decided not to use rack-jekyll as it didn't seem to be able to handle mounting a non-root directory and didn't seem to add much, other than complexity.

Contributing

Please see The Cucumber Brand Guidelines for details about fonts and colours.

How to add a blog post

  • Go to https://github.com/cucumber/website/tree/master/apps/dynamic/views/_posts.
  • Open a previous blog post for reference and for the format header (new tab)
  • On the toolbar, click the '+' button.
  • Name new file with hyphens and ending with .md
  • C&P previous post format header into new file
  • Adjust format according to new post
  • C&P blog post markdown
  • Change to preview to see live changes
  • Once ready, update description and commit.
  • Watch build status to check if it has been post

Production

Assets need to be precompiled for production. Heroku will take care of it but you might want to try it locally:

RACK_ENV=production bundle exec rake assets:precompile
RACK_ENV=production bundle exec foreman start

License

This project is licensed under the MIT License. See the LICENSE file for more information

website-6's People

Contributors

theo-england avatar mattwynne avatar aslakhellesoy avatar romaingweb avatar jbpros avatar chucksuscheck avatar tsundberg avatar tooky avatar mpkorstanje avatar mxygem avatar brasmusson avatar cyocum avatar maxmeyer avatar salfreudenberg avatar mlvandijk avatar stevenfranks avatar sebrose avatar iajrz avatar dandv avatar andrewhavens avatar charlierudolph avatar danman01 avatar doolin avatar davidjlowe avatar gidsg avatar gwhilts avatar wakaleo avatar jenisys avatar laurenfackler avatar reillylm avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.