diff --git a/.gitignore b/.gitignore index 355c885..37554d6 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,7 @@ npm-debug.log _build .vscode -docs \ No newline at end of file +docs + +static/albums.json +static/covers \ No newline at end of file diff --git a/README.md b/README.md index 8e823c3..aaa3ead 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # BRÜTAL LEGEND + https://www.youtube.com/embed/VW88ofmfF0w Progress visualisation of the quest to own a vinyl copy of all songs older than 1990 used in [Brütal Legend](https://en.wikipedia.org/wiki/Br%C3%BCtal_Legend), where possible. @@ -25,3 +26,9 @@ Use `npm run lint` to lint files. ## Build release npm run build + +## Example data + +The data should consist of a list of images (albums covers), and a JSON file. To have some example data to fiddle around with, a dummy data folder is available. + + cp static/dummy-data/* static diff --git a/static/albums.json b/static/albums.json deleted file mode 120000 index 3ee69d9..0000000 --- a/static/albums.json +++ /dev/null @@ -1 +0,0 @@ -/home/ay/Kod/19/pub/albums.json \ No newline at end of file diff --git a/static/covers b/static/covers deleted file mode 120000 index 70b1487..0000000 --- a/static/covers +++ /dev/null @@ -1 +0,0 @@ -/home/ay/Rahvin/madrse/assets/img/covers \ No newline at end of file diff --git a/static/dummy-data/albums.json b/static/dummy-data/albums.json new file mode 100644 index 0000000..caf7c2d --- /dev/null +++ b/static/dummy-data/albums.json @@ -0,0 +1,68 @@ +[ + { + "id": 6, + "img": "05.jpg", + "title": "Death or Glory", + "artist": "Running Wild", + "album": "Death or Glory", + "year": 1989, + "purchased_on": "2016-04-09", + "description": "", + "songs": ["Riding the Storm"] + }, + { + "id": 5, + "img": "04.jpg", + "title": "Blizzard of Ozz", + "artist": "Ozzy Osbourne", + "album": "Blizzard of Ozz", + "year": 1980, + "purchased_on": "2016-04-05", + "description": "", + "songs": ["Mr Crowley"] + }, + { + "id": 4, + "img": "03.jpg", + "title": "Destroyer", + "artist": "KISS", + "album": "Destroyer", + "year": 1976, + "purchased_on": "2016-03-19", + "description": "", + "songs": ["God of Thunder"] + }, + { + "id": 3, + "img": "02.jpg", + "title": "Battle Cry", + "artist": "Omen", + "album": "Battle Cry", + "year": 1984, + "purchased_on": "2016-03-12", + "description": "", + "songs": ["The Axeman"] + }, + { + "id": 2, + "img": "01.jpg", + "title": "O.F.R.", + "artist": "Nitro", + "album": "O.F.R.", + "year": 1989, + "purchased_on": "2016-01-31", + "description": "", + "songs": ["Machine Gunn Eddie"] + }, + { + "id": 1, + "img": "00.jpg", + "title": "Refuge Denied", + "artist": "Sanctuary", + "album": "Refuge Denied", + "year": 1987, + "purchased_on": "2016-01-24", + "description": "", + "songs": ["Battle Angels"] + } +] diff --git a/static/dummy-data/covers/00.jpg b/static/dummy-data/covers/00.jpg new file mode 100644 index 0000000..d430832 Binary files /dev/null and b/static/dummy-data/covers/00.jpg differ diff --git a/static/dummy-data/covers/01.jpg b/static/dummy-data/covers/01.jpg new file mode 100644 index 0000000..bd6f80a Binary files /dev/null and b/static/dummy-data/covers/01.jpg differ diff --git a/static/dummy-data/covers/02.jpg b/static/dummy-data/covers/02.jpg new file mode 100644 index 0000000..c339004 Binary files /dev/null and b/static/dummy-data/covers/02.jpg differ diff --git a/static/dummy-data/covers/03.jpg b/static/dummy-data/covers/03.jpg new file mode 100644 index 0000000..5565161 Binary files /dev/null and b/static/dummy-data/covers/03.jpg differ diff --git a/static/dummy-data/covers/04.jpg b/static/dummy-data/covers/04.jpg new file mode 100644 index 0000000..7555a95 Binary files /dev/null and b/static/dummy-data/covers/04.jpg differ diff --git a/static/dummy-data/covers/05.jpg b/static/dummy-data/covers/05.jpg new file mode 100644 index 0000000..70b321e Binary files /dev/null and b/static/dummy-data/covers/05.jpg differ