mirror of
https://github.com/simon987/music-graph-ui.git
synced 2025-12-17 08:39:02 +00:00
Moved scripts to other repo, CI setup
This commit is contained in:
37
README.md
37
README.md
@@ -6,43 +6,6 @@
|
||||
|
||||
wip
|
||||
|
||||
### Data import from MusicBrainz & Last.fm
|
||||
|
||||
```bash
|
||||
# Download latest database dump
|
||||
./get_musicbrainz_dump.sh
|
||||
|
||||
# Convert to .csv
|
||||
python convert_mb.py
|
||||
|
||||
# Generate scraping tasks for task_tracker_drone (See notes)
|
||||
python generate_scrape_tasks.py
|
||||
|
||||
# Apply last.fm data to artist.csv
|
||||
python patch_artists_with_lastfm.py "/path/to/lasfm_data.db"
|
||||
|
||||
# Expose generated .csv data to the network
|
||||
cd repo/
|
||||
python -m http.server 9999
|
||||
|
||||
# On the machine where neo4j is installed:
|
||||
./import.sh
|
||||
```
|
||||
|
||||
### task_tracker setup:
|
||||
|
||||
Last.fm api calls are queued to [task_tracker](https://github.com/simon987/task_tracker/),
|
||||
and results are gathered by a [task_tracker_drone](https://github.com/simon987/task_tracker_drone/)
|
||||
([script](https://git.simon987.net/drone/last.fm/src/master/run)).
|
||||
|
||||
|
||||
Project secret:
|
||||
```json
|
||||
{
|
||||
"apikey": "<Your Last.fm api key>",
|
||||
"user": "<Your Last.fm username>"
|
||||
}
|
||||
```
|
||||
|
||||
### Api setup
|
||||
|
||||
|
||||
Reference in New Issue
Block a user