Git Product home page Git Product logo

shinjuku-mokumoku's Introduction

CircleCI

What's Shinjuku Mokumoku Programming?

1人だと勉強をサボりそうなオーガナイザーが 強制的に ストイックにプログラミングする ための時間を作ることを目的に毎週開催されているもくもく会です。

そのため、新宿プログラミングもくもく会では参加しているプログラマー各位が相談したりしながら、以下のようなテーマにそれぞれ取り組みます。

  • 新しい言語・フレームワークを触りこむ
  • 今後使うかもしれないミドルウェアの特性を掴む
  • 分散データストアをとりあえず触って肌感覚を掴む
  • 機械学習についてまとまって時間作って学習する
  • 数学や統計を学び直す、論文を読む
  • OSS活動やプライベートプロダクトを集中して進めたい

また、自身にプレッシャーを与えるためにもcheck-inにてやることを宣言し、check-outにて成果を発表します!

過去の雰囲気 : shinjuku-mokumoku

質問などありましたら、slackの shinjuku-mokumoku (登録はこちら) もしくは、twitter #shinjukumokumoku にてご連絡ください。

ToC

Commands

Create event channel, reminder and poller

# on slack
/prepare <num>

Get channel id

# on slack
/get_channel_id <channel_name>

Generate presenter order

# on slack
/presenter <num>

Generate event template

docker-compose run node ./scripts/generateNextEvent.js

Development

TODO

  • Replace creating pull-reqeust operation from systemcall to GitHub api
  • Use gith hub oauth token insted of personal access token to create github api

Getting Started for slash commands

Install firebase cli and login

npm install -g firebase-tools
firebase login
# Check exits $HOME/.config/gcloud file

If you don't have slack api token, get api token from below and export these:

export SLACK_API_TOKEN=your_api_token
export SLACK_SLASH_TOKEN_PREPARE=your_slash_command_token_for_prepare
export SLACK_SLASH_TOKEN_PRESENTER=your_slash_command_token_for_prepare

Run docker container

docker-compose run functions sh

Debug

Run firebase function locally

npx --prefix functions run serve

Show firebase function logs

npm --prefix functions logs -- --only <function_name>

Deploy

Set config for deploy

if you haven't set some config, you should set config by blow command

export SLACK_SLASH_TOKEN_PREPARE=<your_slack_slash_token>
export SLACK_SLASH_TOKEN_PRESENTER=<your_slack_slash_token>
export SLACK_API_TOKEN=<your_slack_api_token>

cd <project_root>
firebase functions:config:set \
slack.slash_token_prepare=$SLACK_SLASH_TOKEN_PREPARE \
slack.slash_token_presenter=$SLACK_SLASH_TOKEN_PRESENTER \
slack.api_token=$SLACK_API_TOKEN

firebase functions:config:get
# show setted configs

manually deploy

  • always deploy automatically by circleci
cd functions && firebase deploy --only functions

Getting Started for scripts

If you don't have slack api token, get api token from below and export as environment variables:

export GITHUB_API_TOKEN=you_personal_github_token

Run container with sh

docker-compose run scripts sh

shinjuku-mokumoku's People

Contributors

aretoky avatar aseisugiyama avatar awm-kaeruko avatar blp1526 avatar cidermitaina avatar edwardkenfox avatar ezura avatar fumiyasac avatar hayashiyoshino avatar irisash avatar ixap2i avatar kaeruko avatar katsuharu avatar kazurundp avatar keinuma avatar koishimasato avatar koki1023 avatar lystahi avatar masao-taketani avatar mitleidstein avatar natsuki-yamanaka avatar nezumihanabi avatar nonoike avatar nozzy123nozzy avatar rednes avatar sasaron avatar tanaken0515 avatar tatamiya avatar threetreeslight avatar yhiss avatar

Stargazers

 avatar

Watchers

 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.