Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
noqqe authored Jun 28, 2023
1 parent 2de8d08 commit f0c82cf
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,26 @@ database "schema" without migration.

Sadly you need to export the cards from the mongodb and import it again using `serra add ` commands

You can find some inspiration in the `utils/` Folder in this repo
I wrote a little helper script in python to export all the cards in format set/number and generate some queries

```
python3 export.py > add_commands.sh
head add_commands.sh
./serra add 5ed/3 -c 1
./serra add mmq/2 -c 1
./serra add p02/4 -c 1
./serra add chr/44 -c 1
./serra add 4ed/291 -c 1
./serra add 4ed/292 -c 1
./serra add mir/2 -c 1
./serra add usg/231 -c 1
./serra add mir/155 -c 1
./serra add pcy/29 -c 2
bash add_commands.sh
```

# Development

Expand Down

0 comments on commit f0c82cf

Please sign in to comment.