Files
MoneyMgr/README.md
2025-05-19 20:58:50 +02:00

1.2 KiB

MoneyMgr

Build Status

Open Source web-based personal expenses tool.

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/

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