|
|
行3: |
行3: |
| === pione-webclientのためのサーバの起動 === | | === pione-webclientのためのサーバの起動 === |
| | | |
− | 通常の利用方法はgodを使用して下記のようになります。
| + | 通常の利用方法は[[god]]を使用して下記のようになります。 |
| | | |
| $ bundle exec god -c misc/pione-webclient.god | | $ bundle exec god -c misc/pione-webclient.god |
| | | |
− | 開発環境においては、foremanを使用して下記にて実行してみましょう。
| + | 開発環境においては、[[foreman]]を使用して下記にて実行してみましょう。 |
| | | |
| $ bundle exec foreman start | | $ bundle exec foreman start |
行26: |
行26: |
| | | |
| % echo $APP_KEY > dropins-app-key.txt | | % echo $APP_KEY > dropins-app-key.txt |
− |
| |
− | ==== godのコマンド ====
| |
− | <table border = "1">
| |
− | <tr>
| |
− | <th>コマンド名</th>
| |
− | <th>説明</th>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>start</td>
| |
− | <td>start task or group</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>restart</td>
| |
− | <td>restart task or group</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>stop</td>
| |
− | <td>stop task or group</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>monitor</td>
| |
− | <td>monitor task or group</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>unmonitor</td>
| |
− | <td>unmonitor task or group</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>remove</td>
| |
− | <td>remove task or group from god</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>load</td>
| |
− | <td>load a config into a running god</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>log</td>
| |
− | <td>show realtime log for given task</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>status</td>
| |
− | <td>show status</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>signal</td>
| |
− | <td>signal all matching tasks</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>quit</td>
| |
− | <td>stop god</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>terminal</td>
| |
− | <td>stop god and all tasks</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>check</td>
| |
− | <td>run self diagnostic</td>
| |
− | </tr>
| |
− | </table>
| |
− | <br>
| |
− |
| |
− | ==== godのオプション ====
| |
− | <table border = "1">
| |
− | <tr>
| |
− | <th>オプション名</th>
| |
− | <th>説明</th>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>-c</td>
| |
− | <td>Configuration file</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>-p</td>
| |
− | <td>Communications port (default 17165)</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>-b</td>
| |
− | <td>Auto-bind to an unused port number</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>-P</td>
| |
− | <td>Where to write the PID file</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>-l</td>
| |
− | <td>Where to write the log file</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>-D</td>
| |
− | <td>Don't daemonize</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>-v</td>
| |
− | <td>Print the version number and exit</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>-V</td>
| |
− | <td>Print extended version and build information</td>
| |
− | </tr>
| |
− | </table>
| |
2014年11月10日 (月) 10:47時点における版
起動方法
pione-webclientのためのサーバの起動
通常の利用方法はgodを使用して下記のようになります。
$ bundle exec god -c misc/pione-webclient.god
開発環境においては、foremanを使用して下記にて実行してみましょう。
$ bundle exec foreman start
また、Dropboxを利用してファイルをやり取りすることもでき、Dropboxに入力ファイルを置くことで後の処理を委ねて、出力ファイルだけを得るということもできます。
Note for Drop-ins API
PIONE Webclient enables to handle Drop-ins API for uploading input files from
and downloading result files to Dropbox. If you want to use Drop-ins's function,
you needs Drop-ins app key in production environment. If you don't have it, you
can get from "https://www.dropbox.com/developers/apps".
- How to setup Drop-ins app key
% echo $APP_KEY > dropins-app-key.txt