Lokvin Wiki
Advertisement

meteor

Discover Meteor

transleate CN for Discover Meteor

$git clone git@github.com:DiscoverMeteor/DiscoverMeteorStatic.git
$cd DiscoverMeteorStatic
$bundle install
$git submodule init
## for first time
$git submodule update
$git submodule foreach git pull origin master
$export DMLANG=zh
$bundle exec middleman
  • Access http://0.0.0.0:4567
  • Note, each time middle man generate for 1 language, the language config in /configure.rb
DEFAULTLANG = 'zh'
LANG = ENV['DMLANG'] || DEFAULTLANG
  • You can specify language by export DMLANG=zh , then restart middleman
$export DMLANG=zh
Advertisement