GithubHelp home page GithubHelp logo

oplunchrandomizerplugin's Introduction

■プラグインのインストール

./symfony opPlugin:install opLunchRandomizerPlugin
※ベータ版の場合は -s beta オプションを付ける。

■CRONの設定
/etc/crontab に以下のように設定する。

35 11 * * * cd /var/www/sns/sns.com/ && ./symfony sa-lunch shuffle
00 12 * * * cd /var/www/sns/sns.com/ && ./symfony sa-lunch create

■管理画面の設定
プラグイン設定画面から下記の各種パラメータを設置する。

LrFooter シャッフル後のフッター文章(時間帯など)
LrFrom イベント作成者のメンバーID
LrCommunity ランチイベントを設置するコミュニティID

設定値をすべて入力しないと、うまく動作しない。

■更新履歴
2010/07/21 [tejima] READMEに更新履歴、TODO欄を追加
2010/07/27 [tozuka] 5人組が出来てしまう問題を解消
2010/08/02 [tozuka]
直前回の組み合わせと可能な限りかぶらないグループ分けを行うモード
shuffleMCMC, shuffleMCMC2 を実装。
・shuffleMCMCは前回の組み合わせだけを考慮
・shuffleMCMC2はウェイト1/3で前々回の組み合わせについても考慮

■TODO
・アクティビティ報告に対象のイベントへのリンクを貼る
・省略名称を sa-lunch => tjm:lunch tjm-lunchへ。

oplunchrandomizerplugin's People

Contributors

tozuka avatar tejima avatar

Stargazers

Shota Kashiwagi avatar

Watchers

Shota Kashiwagi avatar James Cloos 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.