Git Product home page Git Product logo

splatnet2statink-heroku's Introduction

splatnet2statink, on Heroku

splatnet2statink (a tool for uploading Splatoon 2 battle data to stat.ink), but running periodically on free Heroku dynos and free S3-based storage

Setup

  1. You'll need a Heroku account (with credit card entered, sadly), the Heroku CLI, and a local clone of this repository.

  2. Run these commands:

    heroku create # Create a Heroku application
    heroku addons:create cloudcube:free # Add Cloudcube (so we can store configuration in S3)
    heroku addons:create scheduler:standard # Add the Heroku Scheduler (so we can sync periodically)
    git push heroku master # Push the codebase up to Heroku
  3. Run heroku addons:open scheduler and create a schedule to run ./bin/update.sh once an hour.

  4. Go to your stat.ink profile and copy your API token (you'll need it in the next step!).

  5. To configure splatnet2statink, run heroku run ./bin/update.sh and follow the prompts in your terminal.

It's worth noting that the Nintendo Account login URL doesn't copy properly via Heroku's web terminal, so make sure you use the listed heroku run command.

If you've already got splatnet2statink fully configured elsewhere, you can upload its config.txt your application's Cloudcube instance instead of doing the configuration on Heroku. You can access Cloudcube by running heroku addons:open cloudcube. If you've done this correctly, you should see a /config.txt entry alongside (not in!) the /public/ folder.

Updates

This will need periodic updating to sync with splatnet2statink.

The revision of the script is pinned in the requirements.in file, and once updated needs syncing with requirements.txt using pip-compile (available from pip install pip-tools).

splatnet2statink-heroku's People

Contributors

ticky avatar

Watchers

Harley Watson avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.