Executes splatnet2statink regularly on AWS Lambda.
Clone or download
Pull request Compare This branch is 21 commits ahead of frozenpandaman:master.
issei-m Merge pull request #3 from issei-m/fix-update-schedule
Update schedule is now set on every `odd` two hours in JST (according with rotation of stages)
Latest commit 67dd6bc Jan 17, 2019

README.md

splatnet2statink-on-lambda

Forked splatnet2statink to execute it regularly on AWS Lambda.

Requirements

are the installation of:

  • virtualenv
    • python3
    • pip3
  • Serverless
    • Node.js
    • NPM
  • Docker

Setup & Deploy to your AWS account

  1. Make virtualenv:
$ virtualenv venv --python=python3
$ source venv/bin/activate
  1. Resolve python dependencies:
(venv) $ pip3 install -r requirements.txt 
  1. Create your own splatnet2statink configuration (config.txt)
  • You can do by running splatnet2statink.py directly without arguments which will initialize the configuration in interactively
  1. (Optional) At this point you can directly run the handler script:
(venv) $ python3 ./handler.py
splatnet2statink v1.3.3
Checking if there are previously-unuploaded battles...
No previously-unuploaded battles found.
  1. Resolve NPM dependencies:
(venv) $ npm i
  1. Deploy to AWS Lambda using Serverless:
(venv) $ node_modules/.bin/sls deploy

License

GPLv3 in according with the original source.