Code Monkey home page Code Monkey logo

discovermeteorstatic's Introduction

Discover Meteor Static

This is a Middleman static site generator wrapper for the Discover Meteor book's Markdown sources.

It takes the Markdown sources in any language and generates a static HTML site from them.

Instructions

Clone this repo:

git clone [email protected]:DiscoverMeteor/DiscoverMeteorStatic.git

Then install Middleman and the other required gems:

bundle install

Initialize Git submodules:

git submodule init

Update them:

git submodule foreach git pull origin master

Then run with:

middleman

Managing Languages

This repo uses one git submodule per language. Please take care not to commit any translations sources as part of this repo itself.

Switching Language

Middleman can only generate files for a single language at a time. It will look for a LANG environment variable, but if it can't find it it will fall back to a default language, as specificed in line 6 of config.rb:

LANG = ENV['LANG'] || 'fr'

We recommend using that environment variable if you can. Otherwise, the easiest way to change your local language is simply to change this hardcoded string, and then restart Middleman.

Troubleshooting

In some cases, the README.md file included with each language's repo can trigger a Middleman error, because it lacks the proper formatting. Simply delete it to get rid of the error (but don't commit the deletion!).

Deploying

Pushing a commit to this repo will automatically redeploy all translation instances (see full list).

discovermeteorstatic's People

Contributors

albertkai avatar andorchen avatar andreavaghi avatar cagdascan avatar damienpereira avatar dtinth avatar grigio avatar html5cat avatar lfac-pt avatar miraten avatar newnectar avatar pavel-voronin avatar physiocoder avatar pszu avatar robertoea avatar sachag avatar slava avatar splendido avatar timbrandin avatar tmeasday avatar tsega avatar tvararu avatar vicnala avatar virgotopia avatar

Watchers

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