- $ curl -L https://cpanmin.us | perl - App::cpanminus
- $ cpanm Carton
- $ cd scripts
- $ carton install
- build HTMLs by
carton exec perl compile.pl - re-build all HTML by
carton exec perl compile.pl -f - build specified url by
carton exec perl compile.pl -p why-us
After HTML build, you can run sudo grunt connect then visits [https://localhost/en/home.html] for test
carton exec perl compile.pl -d
-fforce to overwrite the existing HTMLs-dcompile for use in gh-pages of a binary-static fork-p pathnameonly compile the files having pathname in path-b branchnameto compile the changes to sub-folder named br_branchname-vrto display list of all generated files
-
on Mac, install
Homebrewbyruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" -
install
GNU gettextbybrew install gettext
- run
./translation.sh - .po & .pot files will be updated in
../src/config/&../src/config/locales
- run
./js_translation.sh - changes update in
../src/javascript/autogenerated/texts.js