mirror of
https://github.com/redox-os/orbtk-template
synced 2026-08-25 08:16:21 +00:00
No description
- Rust 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src | ||
| .gitignore | ||
| Cargo.toml | ||
| LICENSE | ||
| Node.toml | ||
| README.md | ||
orbtk-template
A template for starting an OrbTk project
Use cargo generate to Clone this Template
Learn more about cargo generate here.
cargo generate --git https://github.com/redox-os/orbtk-template.git --name my-project
cd my-project
Platforms
- Redox OS (native)
- Linux (native | cargo-node wip)
- macOS (native | cargo-node wip)
- Windows (native | cargo-node wip)
- openBSD (not tested, but should work)
- Web
Run
You can start the editor by executing the following command:
cargo run --release
Run with cargo-node
To run the editor on as browser or electron app you have to install
cargo install -f cargo-node
Before you could use cargo node you have to install npm version 6.9.0. It is included in the Node.js version 10.16.3. You could download it from https://nodejs.org/dist/v10.16.3/.
Rust's cargo is presumed. All other dependencies of cargo node will be installed automatic.
Start
- Run as browser app:
cargo node run --browser
- Run as electron app:
cargo node run --electron
License
Licensed under MIT license (LICENSE)