Skip to content

Commit

Permalink
Feature: I can find a card with search (#27)
Browse files Browse the repository at this point in the history
* paginate search

* remove scryfall_id

* add /api/panel trpc-panel

* expose db port :5432 in docker compose

* keep python script up to date remove scryfall_id

* seeding db
  • Loading branch information
mathewmorris authored Oct 24, 2024
1 parent 65a1709 commit 0a44724
Show file tree
Hide file tree
Showing 14 changed files with 373 additions and 197 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,10 @@

The app should be exposed at `localhost:3000` ready for development.

## What happens when I push a new branch to Github?
1. Vercel [creates a Preview deployment](https://vercel.com/magicians/magic-vault/deployments)

## What happens when I merge into `main`?
1. Vercel [creates a Production deployment](https://vercel.com/magicians/magic-vault/deployments)
2. Database migrations are run automatically with github action `deploy`.

4 changes: 2 additions & 2 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ services:
environment:
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD_FILE=/run/secrets/db-password
expose:
- 5432
ports:
- 5432:5432
healthcheck:
test: [ "CMD", "pg_isready" ]
interval: 10s
Expand Down
Loading

0 comments on commit 0a44724

Please sign in to comment.