2012-02-01から1ヶ月間の記事一覧
これは、oauthではなく、shindigとpartuzaの間でやりとりしている、stっていうセキュリティトークンのためのPOSTパラメータをどうにかしてやれば解決する問題。それでは、partuzaのガジェット登録、表示までのコードをshindigを含めて追ってみます。Add appl…
partuzaを配置 ここから、 http://code.google.com/p/partuza/downloads/list/これをダウンロード。 http://partuza.googlecode.com/files/partuza-1.0.0.tar.gz展開して、 $ tar -zxvf partuza-1.0.0.tar.gz こういうパスに配置 /home/username/src/release…
shindigを配置 phpはあらかじめ、mod_rewrite, json, simplexml, mcrypt, curl, opensslを有効になるよう、configureオプションを付けてリビルドしておくこと。これをダウンロードする。 http://repo1.maven.org/maven2/org/apache/shindig/shindig/1.1-BETA…
ngCoreを入れてみる。これね、mobageで登録してみたものの、はんのうがない…ただのしかばねのようだ舞台装置の魔女
wget, gitが必要なのでyumでインストール wget, gitをyumでインストール。 # yum install wget git Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: www.ftp.ne.jp * extras: www.ftp.ne.jp * updates: www.ftp.ne.jp Se…
hello worldをrailsで作ってみる。 /home/username/src/myappに移動。rails generateというように引数を付けなければ使い方が表示される。省略形はrails g $ rails g Usage: rails generate GENERATOR [args] [options] General options: -h, [--help] # Pri…
Webサーバ(WEBrick)を起動 script/serverでなく、script/railsに変更されたらしい…。 $ ruby script/rails -h Usage: rails COMMAND [ARGS] The most common rails commands are: generate Generate new code (short-cut alias: "g") console Start the Ra…
railsのアプリケーション作成 /home/username/srcに移動。 $ mkdir rails $ cd rails $ rails new myapp create create README.rdoc create Rakefile create config.ru create .gitignore create Gemfile create app create app/assets/images/rails.png cre…