Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Latest commit

 

History

History
27 lines (20 loc) · 675 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 675 Bytes

Purpose

Fetches and stores all track names from https://residentadvisor.net/tracks/{i} where i goes from 1 to +∞

Run locally

virtualenv ./.venv
source ./.venv/bin/activate
pip install -r requirements.txt
python main.py
deactivate

Build and deploy

apex build from-residentadvisor
apex deploy from-residentadvisor --region eu-west-1

AWS prerequesites

  • DynamoDB table:
    • CursorsTable
      • name: any_tracks
        • partition key: host (string)
        • sort key: id (decimal)
  • IAM role:
    • name: apex_lambda_function
    • permissions: IAM, DynamoDB, Lambda