Skip to content
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
1 change: 1 addition & 0 deletions .github/workflows/build-docker-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
with:
push: true
tags: |
ghcr.io/venil7/assets:nightly
ghcr.io/venil7/assets:${{ env.BUILD_TAG }}

# builds release image, pushes under version and latest tags
Expand Down
37 changes: 0 additions & 37 deletions API.md

This file was deleted.

5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ RUN go install -tags 'sqlite3' github.com/golang-migrate/migrate/v4/cmd/migrate@
FROM oven/bun:1.3 AS builder
WORKDIR /app
COPY . .
RUN apt-get update \
&& apt-get install -y \
git \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN bun install
RUN bun run check
RUN bun run build
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ A self-hosted portfolio and wealth tracker for personal finance management. Cons
<img width="235" height="500" alt="screenshot2" src="https://github.com/user-attachments/assets/fb6e09d8-91f1-4053-8cdf-93d0d7fc7741" />
<img width="235" height="500" alt="screenshot3" src="https://github.com/user-attachments/assets/e81ec8e2-919b-43d3-b919-34a39f108c6c" />

---
## Mobile Client

A mobile client written in Flutter can be connected to `assets`, and has its own repository [here](https://github.com/venil7/assets_client)

---

## Quick Start
Expand Down Expand Up @@ -134,6 +139,7 @@ bun run check # Lint and type-check all packages
**Build Docker image locally:**

```bash
# export DOCKER_API_VERSION=1.43
docker buildx build -t assets:local .
```

Expand All @@ -156,6 +162,14 @@ VITE_ASSETS_URL=http://localhost:4020 # Backend base URL (required in dev; empt
VITE_ASSET_BASENAME=/app # URL path prefix for routing (default: /)
```

### Fill Demo User With Testing Data

```sh
rm assets.db && \
migrate -path ./.migrations -database=sqlite3://assets.db up && \
sqlite3 assets.db < prefill.sql
```

### Database Migrations

Migrations are managed with [golang-migrate](https://github.com/golang-migrate/migrate). This is **optional**—the app creates the schema automatically on first run.
Expand Down
Loading
Loading