diff --git a/Taskfile.yaml b/Taskfile.yaml index 3ea7723..0277974 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -9,9 +9,11 @@ tasks: export-db: cmds: - sqlite3 /home/bggsell/games.db '.mode json' '.once /home/bggsell/db/games.json' 'select * from game' + - sqlite3 /home/bggsell/games.db '.mode json' '.once /home/bggsell/db/sellers.json' 'select * from bgg_user' export-db:dev: cmds: - sqlite3 games.db '.mode json' '.once static/dev/games.json' 'select * from game' + - sqlite3 games.db '.mode json' '.once static/dev/sellers.json' 'select * from bgg_user' deploy: deps: [build] diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index f4203f6..2c863f5 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -7,7 +7,37 @@ diff --git a/static/dev/sellers.json b/static/dev/sellers.json new file mode 100644 index 0000000..68503d3 --- /dev/null +++ b/static/dev/sellers.json @@ -0,0 +1,2 @@ +[{"username":"yenzie","neighbourhood":"Bells Corners"}, +{"username":"jmarkmoss","neighbourhood":null}]