Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ In the sections below we describe some key concepts and explain design decisions

> ⚠️ The project is under development and may have bugs or design shortcomings. Feel free to contribute by opening issues or PR-ing. We welcome any effort aimed at making this a better tool for the community.

## Installation (macOS)

```
brew install luarocks
luarocks install busted
```

for SQLite3 support:
```
luarocks install lsqlite3complete
```

## How To Use

The files `process.lua` and `rewards.lua` contain some code you would typically have in your AO process (handlers and global state you are adding to the process).
Expand Down
4 changes: 4 additions & 0 deletions test/setup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ local function mockedRequire(moduleName)
return originalRequire("test.mocked-env.lib.json")
end

if moduleName == "lsqlite3" then
return originalRequire("lsqlite3complete")
end

return originalRequire(moduleName)
end

Expand Down