Meteor

meteor

 * https://www.meteor.com

Discover Meteor

 * https://www.discovermeteor.com/

install bunlder
#mac OS X EI sudo gem install bundler
 * http://bundler.io/#getting-started

transleate CN for Discover Meteor
$git clone git@github.com:DiscoverMeteor/DiscoverMeteorStatic.git $cd DiscoverMeteorStatic $bundle install $git submodule init $git submodule update $git submodule foreach git pull origin master $export DMLANG=zh $bundle exec middleman
 * 1) for first time

$git clone git@github.com:DiscoverMeteor/DiscoverMeteorStatic.git $cd DiscoverMeteorStatic $bundle install #clone en to source/chapters/en $cd source/chapters $git clone git@github.com:DiscoverMeteor/DiscoverMeteor_En.git en $export DMLANG=en $bundle exec middleman

DEFAULTLANG = 'zh' LANG = ENV['DMLANG'] || DEFAULTLANG
 * Access http://0.0.0.0:4567
 * Note, each time middle man generate for 1 language, the language config in /configure.rb

$export DMLANG=zh
 * You can specify language by export DMLANG=zh, then restart middleman