html5.rst 476 B

123456789101112131415161718192021222324252627
  1. ==================
  2. Deploying to HTML5
  3. ==================
  4. Install emscripten
  5. ------------------
  6. Install emscripten:
  7. * https://emscripten.org/docs/getting_started/downloads.html
  8. Set environment variables
  9. -------------------------
  10. .. code::
  11. export EMSCRIPTEN=<emsdk>/upstream/emscripten
  12. Running the generated output
  13. ----------------------------
  14. Use `emrun` to run the generated `index.html`:
  15. .. code::
  16. cd <output_dir>
  17. <emsdk>/upstream/emscripten/emrun index.html