GithubHelp home page GithubHelp logo

00mjk / bundler-site Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rubygems/bundler-site

0.0 0.0 0.0 10.49 MB

The Bundler documentation website

Home Page: https://bundler.io

Ruby 1.40% HTML 0.20% JavaScript 0.35% Haml 97.56% SCSS 0.49%

bundler-site's Introduction

bundler.io

bundler.io is intended to serve as a convenient source for documentation on the bundler gem.

The site bundler.io is a static site generated using Middleman.

Bundler's manual pages document much of its functionality and serve as an important part of the site. They are included via the Rakefile.

Development Set Up

Begin by cloning the repository onto your location machine:

git clone https://github.com/rubygems/bundler-site.git

Once complete prepare the dependencies by running:

bundle install

If you have trouble installing the middleman-search gem

middleman-search depends on the deprecated gem therubyracer, which depends on an obsolete version of libv8. They can be difficult to install.

gem install libv8 -v '3.16.14.19' -- --with-system-v8
gem install therubyracer -v '0.12.3' --source 'https://rubygems.org/' -- --with-v8-dir=/usr/local/opt/[email protected]

For further discussion, see https://gist.github.com/fernandoaleman/868b64cd60ab2d51ab24e7bf384da1ca

There is an open PR to fix middleman-search: manastech/middleman-search#18

Basic Middleman Commands

Fetch latest documentation from bundler repo (should be done before running local development web server):

rake man

Run a local development web server:

bundle exec middleman server

This will start a local web server running at: http://localhost:4567. It will serve the site as it exists in /source.

To specify the host and/or port, add the -h, -p flag(s):

bundle exec middleman -h 0.0.0.0 -p 8080

Note: the development server will automatically reload pages when they or there associated stylesheets are modified. This feature is enabled in config.rb.

Build the site:

bundle exec middleman build

This will use the files in /source to generate a static site in /build.

bundler-site's People

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.