All checks were successful
continuous-integration/drone/push Build is passing
1.4 KiB
1.4 KiB
MoneyMgr
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
-
Install prerequisites:
- docker
- docker compose
- git
-
Clone this git repository:
git clone https://gitea.communiquons.org/pierre/MoneyMgr
cd MoneyMgr/docker_prod
- Copy and adapt env values
cp .env.sample .env
nano .env
- Create required directories:
mkdir -p storage/{db,redis-data,redis-conf,minio}
- Start containers
docker compose up
- Checkout http://localhost:8000/
The default credentials are
admin
/admin
Setup dev env
-
Install prerequisites:
- docker
- docker compose
- rust
- node
-
Start services
cd moneymgr_backend
mkdir -p storage/{db,redis-data,redis-conf,minio}
docker compose up
- Install Diesel CLI:
sudo apt install libpq5 libpq-dev pkg-config libssl-dev cmake
cargo install diesel_cli --no-default-features --features postgres
- 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