Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
a5d4ae5
Add entity definition - on conflict update
Mephodio Nov 22, 2023
a720066
Update entity definition - on conflict do nothing
Mephodio Nov 22, 2023
5ad8cfb
Complete saveArtist action
Mephodio Nov 22, 2023
0116760
Add api for retrieving stats; prepare docker for api
Mephodio Nov 23, 2023
5dedaac
Add flags for python optimization
Mephodio Nov 23, 2023
9e1f6b8
Fix CORS
Mephodio Nov 23, 2023
dd7738b
Implement web side
Puncheglaz Nov 24, 2023
7d4cd4d
API service depends on DB
Mephodio Nov 24, 2023
485078d
Restructure and dockerize web
Puncheglaz Nov 24, 2023
5d8bc3e
Merge pull request #4 from TheTedLab/web
TheTedLab Nov 24, 2023
480fabf
Add artists aggregator
TheTedLab Nov 25, 2023
a8382b3
Merge branch 'dev' into aggregator
TheTedLab Nov 25, 2023
e1b4e13
Merge pull request #5 from TheTedLab/aggregator
TheTedLab Nov 25, 2023
5f75882
Fix tracks parsing
TheTedLab Nov 25, 2023
773eaa2
Merge pull request #6 from TheTedLab/aggregator
TheTedLab Nov 25, 2023
366b65d
Update aggregator
TheTedLab Nov 27, 2023
4d40c2d
Update artist saving and docker
TheTedLab Dec 7, 2023
4f59e91
Add updating for playcount and stats
TheTedLab Dec 10, 2023
93a5503
Merge pull request #7 from TheTedLab/aggregator
TheTedLab Dec 10, 2023
ec27ccb
Add album info scraper
Mephodio Dec 11, 2023
31facab
Add stats from files
TheTedLab Dec 13, 2023
a2ae59f
Implement core charts
Puncheglaz Dec 14, 2023
f2e267e
Fix saving cities; add query endpoint; fix issue with long track names
Mephodio Dec 14, 2023
7111c4a
Merge pull request #8 from TheTedLab/aggregator
TheTedLab Dec 14, 2023
749321c
Add fast parsers
Mephodio Dec 14, 2023
879990d
Merge pull request #10 from TheTedLab/web
TheTedLab Dec 14, 2023
385831d
Merge pull request #11 from TheTedLab/scraper
TheTedLab Dec 14, 2023
5d39a2c
Merge pull request #16 from TheTedLab/dbapi
TheTedLab Dec 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
146 changes: 145 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -289,4 +289,148 @@ sketch
### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.ionide
.ionide

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

### Node Patch ###
# Serverless Webpack directories
.webpack/

# Optional stylelint cache

# SvelteKit build / generate output
.svelte-kit

#Project Files
auth_credentials.py
get_token.py
18 changes: 18 additions & 0 deletions src/aggregator/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Use an official Python image as the base image
FROM python:3.11

# Set the working directory in the container
WORKDIR /usr/src/app

# Copy and install requirements
COPY ./requirements.txt /app/requirements.txt

RUN pip install -r /app/requirements.txt

# Copy files to the container
COPY save_artist.py .
COPY server_vars.py .
COPY resources/artists/ ./resources/artists/

# Command to run application
CMD ["python", "save_artist.py"]
File renamed without changes.
Loading