MoneyMgr/README.md
Pierre HUBERT 87f017fc42
All checks were successful
continuous-integration/drone/push Build is passing
OIDC functional
2025-05-19 21:08:51 +02:00

1.4 KiB

MoneyMgr

Build Status

Open Source web-based personal expenses tool.

Note : This project does not handle authentication itself. Instead, it relies on OpenID to achieve users authentication.

Setup prod env

  1. Install prerequisites:

    1. docker
    2. docker compose
    3. git
  2. Clone this git repository:

git clone https://gitea.communiquons.org/pierre/MoneyMgr
cd MoneyMgr/docker_prod
  1. Copy and adapt env values
cp .env.sample .env
nano .env
  1. Create required directories:
mkdir -p storage/{db,redis-data,redis-conf,minio}
  1. Start containers
docker compose up
  1. Checkout http://localhost:8000/

The default credentials are admin / admin

Setup dev env

  1. Install prerequisites:

    1. docker
    2. docker compose
    3. rust
    4. node
  2. Start services

cd moneymgr_backend
mkdir -p storage/{db,redis-data,redis-conf,minio}
docker compose up
  1. Install Diesel CLI:
sudo apt install libpq5 libpq-dev pkg-config libssl-dev cmake
cargo install diesel_cli --no-default-features --features postgres
  1. Initialize database:
diesel migration run

Note: You can access the database directly using this command:

PGPASSWORD=pass psql -h localhost -p 5432 -U user -d moneymgr