Skip to content

vwkd/stan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

A modern, modular and extensible ERP

Introduction

An ERP built as Wasm components which run durably on Golem Cloud. Each component exports exactly one functionality which other components can import. Components are written in Rust.

Currently it's just the backend API without the frontend. Currently, interacting with the API can be done through the Golem CLI or Golem REST API.

Usage

  • install dependencies
rustup target add wasm32-wasi
brew install protobuf
cargo install cargo-component
  • build
cargo component build --workspace --release
  • test
cargo test --workspace -- --test-threads=1
  • create Golem template
golem-cli template add -t foo -p stan target/wasm32-wasi/release/foo.wasm
# or if already exists
golem-cli template update -t foo -p stan target/wasm32-wasi/release/foo.wasm
  • create Golem worker
golem-cli worker add -w foo-1 -t foo -p stan
# or if already exists
golem-cli worker delete -w foo-1 -t foo -p stan
golem-cli worker add -w foo-1 -t foo -p stan