diff --git a/README.md b/README.md index cf2d96f..6506c05 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,14 @@ Emscripten is also used to create and compile the Wasm bindings to be imported b docker-compose run ffprobe-web-analyzer make ``` -This will build the WASM module and place it into the `/dist` folder. +This will build the Wasm module and place it into the `/dist` directory. -* Install and run web: +* Copy the JS and Wasm modules into `www/public/`: +``` +cp -a dist/. www/public/ +``` + +* Install and run the web application: ``` cd www npm install diff --git a/www/.gitignore b/www/.gitignore index 403adbc..26d0a1d 100644 --- a/www/.gitignore +++ b/www/.gitignore @@ -21,3 +21,6 @@ pnpm-debug.log* *.njsproj *.sln *.sw? + +public/*.js +public/*.wasm \ No newline at end of file diff --git a/www/src/App.vue b/www/src/App.vue index 47e969d..e8a8c6e 100644 --- a/www/src/App.vue +++ b/www/src/App.vue @@ -14,6 +14,11 @@