Code Monkey home page Code Monkey logo

folio-bot's Introduction

FOLIO bot

2023/8 Archived due to sunsetting of theme investment.


Build Status

How to use

Please try it with this command.

docker run -e USERNAME="<Your mail address>" -e PASSWORD="<Your password>" -e WEBHOOK_URL="<Your slack incoming-webhook URL>" [-e TITLE="今日のFOLIO"] koukidan/folio-bot

After login successful, you will see like this image:
screen shot 2018-03-03 at 11 43 54 pm

How to develop

  1. Copy env file from env.sample to env and replace them for development info
  2. Run this command for development docker-compose up --build

Deploy to kubernetes

This uses alpha version feature of Kubernetes. To use it on GKE, you must make alpha feature on

  1. Create Secret
kubectl create secret generic folio-bot-credentials --from-literal=username=[your username] --from-literal=password=[your password] --from-literal=webhook-url=[your slack incoming-webhook url]
  1. Create CronJob
kubectl create -f folio-cron.yml

That's all. You will show your data on slack if configuration succeeded.

Deploy to Heroku

Deploy

  1. Use above button to create heroku app
  2. Setup schedule when deployed
    • Click Manage app button to show overview
    • Click Heroku Scheduler add-on to setup schedule
    • Click Add new job button
    • Set this command python folio.py
    • Set schedule like below screen shot.
    • setup image
  3. Finished!

folio-bot's People

Contributors

dependabot-support avatar kouki-dan avatar y-yu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

y-yu

folio-bot's Issues

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.