securityos/node_modules/emulators
Berkeley 927854894b First commit 2024-09-06 12:32:35 -03:00
..
.github/workflows First commit 2024-09-06 12:32:35 -03:00
dist First commit 2024-09-06 12:32:35 -03:00
.dockerignore First commit 2024-09-06 12:32:35 -03:00
.eslintrc.json First commit 2024-09-06 12:32:35 -03:00
.gitmodules First commit 2024-09-06 12:32:35 -03:00
Dockerfile First commit 2024-09-06 12:32:35 -03:00
LICENSE First commit 2024-09-06 12:32:35 -03:00
README.md First commit 2024-09-06 12:32:35 -03:00
package.json First commit 2024-09-06 12:32:35 -03:00

README.md

build emulators

Emulators for js-dos 7.xx

Using Docker

Build image

    docker build -t emulators . 

Test image

    docker run -p 8080:8080 -ti emulators

Open http://localhost:8080/test/test.html in browser, all test should pass

Development

Run inside the project dir:

    docker run -v `pwd`/src:/app/src -v `pwd`/test:/app/test -v `pwd`/dist:/app/dist -ti emulators bash
    source /emsdk/emsdk_env.sh
    gulp OR ./node_modules/.bin/tsc --watch

Use your code editor to edit the content of src and test. In the docker VM you can run gulp to build everything into dist OR use ./node_modules/.bin/tsc --watch if you need only compile time checks.