Skip to content

noogen-projects/mindup

Repository files navigation

Mind Up

The laplace-application that upgrade the mind.

Build

Building mindup requires the latest stable Rust toolchain, the wasm32 target and cargo-make and wasm-bindgen build tools.

To install Rust and its toolchain and target via rustup, if it is not already installed, run:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env

rustup toolchain install stable
rustup target add wasm32-unknown-unknown

To install cargo-make and wasm-bindgen, run:

cargo install --force cargo-make wasm-bindgen-cli

To build mindup and its example, run:

cargo make all

Or for a debug build, run:

cargo make all -p debug

Run example

Run the laplace server with mindup application:

cargo make run

Or for a debug build:

cargo make run -p debug

Then visit http://localhost:8080/mindup. You can change the default port and other settings by editing app_runner/settings.toml file.

Development notes

To check the project, use the following command:

cargo check --workspace --all-features --all-targets

To run all tests, use the following command:

cargo test --all-features --all-targets

To check and perform formatting, use the following commands:

cargo +nightly fmt -- --check
cargo +nightly fmt

To enable autoformatting for IntelliJ IDEA with the Rust plugin:

File -> Settings -> Languages & Frameworks -> Rust -> Rustfmt, check "Run rustfmt on Save"

To run clippy, use the following command:

cargo clippy --all-targets --all-features -- -D warnings

To setup git hook, use the following command:

cp .git-pre-push.sh .git/hooks/pre-push

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published