项目作者: soydos

项目描述 :
UI for Pusoy Dos rebuild
高级语言: JavaScript
项目地址: git://github.com/soydos/pusoy-dos-ui.git
创建时间: 2019-02-10T21:41:26Z
项目社区:https://github.com/soydos/pusoy-dos-ui

开源协议:MIT License

下载


Pusoy Dos UI

Pusoy Dos UI is the React frontend for soydos.com

Prereqs

  • node 8.10
  • npm 6.5.0

Setup (React application only)

  • run npm install to install dependencies
  • run npm run start to run webserver
  • navigate to localhost:8080

Development Pipeline and wasm dependencies

The Pusoy Dos logic for PDUI is written in rust and imported
into the react application using wasm. The compiled wasm binary
is published to npm under the name
wasm-pusoy-dos.
This package in turn depends on a cargo package published as
pusoy_dos2.

Updates to pusoy_dos2 can only be surfaced in PDUI by
recompiling the wasm bindings in wasm-pusoy-dos.

The following directory setup is suggested to enable development
across the complete code pipeline:

  1. .
  2. +-- pusoy-dos-project
  3. | +-- pusoy-dos-ui
  4. | +-- node_modules
  5. | +-- wasm-pusoy-dos (symlinked to below)
  6. | +-- wasm-pusoy-dos
  7. | +-- pusoy_dos2

In the layout above, note that the node_module, wasm-pusoy-dos
has a symlink to the sibling directory of pusoy-dos-ui of the
same name. The rust dependency does not require a symlink as the
link to the local directory is handled by cargo

Contributing

Yeah sure. Every single interface and component is in flux though
so best let me know if you intend to contribute. Or a surprise PR.