stevenarella/www
dependabot[bot] 095ae1f6ab Bump lodash from 4.17.11 to 4.17.15 in /www (#201)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-27 17:50:33 -07:00
..
.gitignore Add support for compiling WebAssembly wasm32-unknown-unknown target (#92) 2019-03-03 08:32:36 -08:00
README.md wasm: Fix operation not supported on std::fs. Closes #115 (#166) 2019-05-29 08:21:56 -07:00
bootstrap.js Add support for compiling WebAssembly wasm32-unknown-unknown target (#92) 2019-03-03 08:32:36 -08:00
index.html Add support for compiling WebAssembly wasm32-unknown-unknown target (#92) 2019-03-03 08:32:36 -08:00
index.js Add support for compiling WebAssembly wasm32-unknown-unknown target (#92) 2019-03-03 08:32:36 -08:00
package-lock.json Bump lodash from 4.17.11 to 4.17.15 in /www (#201) 2019-07-27 17:50:33 -07:00
package.json npm update www dependencies. Closes #182 2019-07-04 15:25:02 -07:00
webpack.config.js Add support for compiling WebAssembly wasm32-unknown-unknown target (#92) 2019-03-03 08:32:36 -08:00

README.md

stevenarella-web

Web app for running Stevenarella as WebAssembly

Status: very incomplete. It currently compiles, but does not run due to missing web support from critical dependencies, at least:

Building

To build for wasm32-unknown-unknown, run in the top-level directory (not www):

rustup target add wasm32-unknown-unknown
cargo install wasm-bindgen-cli
wasm-pack build

Running

After building the Rust app, run the NodeJS web server as follows:

cd pkg
npm link
cd ..
cd www
npm link stevenarella
npm install
npm start
open http://localhost:8080/

Credits

Based on [rustwasm/create-wasm-app](https://github.com/rustwasm/create-wasm-app):

An npm init template for kick starting a project that uses NPM packages containing Rust-generated WebAssembly and bundles them with Webpack.