Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.6.0 #56

Merged
merged 5 commits into from
Sep 6, 2024
Merged
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
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby 3.3.0
ruby 3.3.5
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
GIT
remote: https://github.com/simonneutert/ka-ching-client.git
revision: 40fef1c1d5b2d59c303b7cf8e829a2bf403b9b08
revision: 0bf1781523f529cb32fdbb14362d5a61de98b496
branch: main
specs:
ka-ching-client (0.5.2)
ka-ching-client (0.6.0)
faraday (>= 2.7.10, < 2.9.0)
httpx (>= 0.22.4, < 1.3.0)

Expand All @@ -26,7 +26,7 @@ GEM
faraday-net_http (3.0.2)
htmlbeautifier (1.4.2)
http-2-next (1.0.3)
httpx (1.2.1)
httpx (1.2.6)
http-2-next (>= 1.0.3)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
Expand Down Expand Up @@ -134,4 +134,4 @@ DEPENDENCIES
solargraph (~> 0.50.0)

BUNDLED WITH
2.5.5
2.5.18
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ So, dive in, explore the code, and embark on your journey of building a cash reg

---

- [IMPORTANT](#important)
- [Screenshots](#screenshots)
- [Features](#features)
- [Todos](#todos)
- [Run locally with `Docker compose`](#run-locally-with-docker-compose)
- [Local development environment (with Docker)](#local-development-environment-with-docker)
- [Reset the database](#reset-the-database)

Expand Down Expand Up @@ -127,6 +129,16 @@ For features the API backend and client bring, but aren't showcased in this demo

</details>

## Run locally with `Docker compose`

```bash
docker compose pull
docker compose build
docker compose up -d db && sleep 10 # wait for the db to be ready
docker compose run -i --rm backend bin/setup # prepare the database
docker compose up
```

## Local development environment (with Docker)

1. Clone/Download this repository
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ services:
condition: service_started

backend:
image: ghcr.io/simonneutert/ka-ching-backend:main
image: ghcr.io/simonneutert/ka-ching-backend:v0.6.0
environment:
DATABASE_URL: db
DATABASE_USER: kaching
Expand All @@ -38,7 +38,7 @@ services:
condition: service_healthy

db:
image: postgres:15-alpine
image: postgres:16-alpine
environment:
POSTGRES_USER: kaching
POSTGRES_PASSWORD: kaching
Expand Down
Loading
Loading