Skip to content

Combining the super powers of TigerBeetle with the simplicity of hledger

License

Notifications You must be signed in to change notification settings

lil5/ledgerbeetle

Repository files navigation

LedgerBeetle

Combining the super powers of TigerBeetle with the simplicity of hledger

Screenshots

screenshot1.png

Getting started

Requirements

  • docker
  • make

Setup

Remove the tb service if you are running your own or edit the command just like instructed in Development.

Edit .env, docker-compose.prod.yml with proper database password

Run

make prod-start

Development

Requirements

  • rustup, cargo
  • postgres-client
  • docker
  • bun
  • make

Setup

Edit the docker-compose.prod.yml under the tb service, follow the changes shown below:

+++command: format --cluster=0 --replica=0 --replica-count=1 /data/0_0.tigerbeetle
---# command: format --cluster=0 --replica=0 --replica-count=1 /data/0_0.tigerbeetle
+++# command: start --addresses=0.0.0.0:3001 /data/0_0.tigerbeetle
---command: start --addresses=0.0.0.0:3001 /data/0_0.tigerbeetle

Then run docker compose -f docker-compose.dev.yml up tb then when it is running ctrl + C and revert the change.

Run

For running all processes at the same time run: make dev

To run them individually here are the commands:

# setup
make dev-docker-start
cd frontend; bun i


# then run the following in 2 different terminals
make dev-be-start
make dev-fe-start

About

Combining the super powers of TigerBeetle with the simplicity of hledger

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published