This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>カレーのレシピ</title> | |
</head> | |
<body> | |
<h1>カレーのレシピ</h1> | |
<h3> | |
誰でもできる、美味しいカレーの作り方です。旦那も息子もこのカレーが大好物。 | |
ポイントは玉ねぎと人参はミキサーで細かくしてしまうところ。逆にコクのある美味しいカレーになります。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html dir="ltr" itemscope="" itemtype="http://schema.org/Article" lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<!-- | |
Copyright (c) 2012 Google Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
macmini:myapp tyamuro$ cap deploy | |
triggering load callbacks | |
* 2012-11-12 17:13:57 executing `staging' | |
triggering start callbacks for `deploy' | |
* 2012-11-12 17:13:57 executing `multistage:ensure' | |
* 2012-11-12 17:13:57 executing `deploy' | |
* 2012-11-12 17:13:57 executing `deploy:update' | |
** transaction: start | |
* 2012-11-12 17:13:57 executing `deploy:update_code' | |
executing locally: "git ls-remote [email protected]:tyamuro/myapp.git HEAD" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
macmini:myapp tyamuro$ cap deploy | |
triggering load callbacks | |
* 2012-11-13 17:39:33 executing `staging' | |
triggering start callbacks for `deploy' | |
* 2012-11-13 17:39:33 executing `multistage:ensure' | |
* 2012-11-13 17:39:33 executing `deploy' | |
* 2012-11-13 17:39:33 executing `deploy:update' | |
** transaction: start | |
* 2012-11-13 17:39:33 executing `deploy:update_code' | |
executing locally: "git ls-remote [email protected]:tyamuro/myapp.git HEAD" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
macmini:myapp tyamuro$ cap deploy:cold | |
triggering load callbacks | |
* 2012-11-15 17:13:38 executing `staging' | |
triggering start callbacks for `deploy:cold' | |
* 2012-11-15 17:13:38 executing `multistage:ensure' | |
* 2012-11-15 17:13:38 executing `deploy:cold' | |
* 2012-11-15 17:13:38 executing `deploy:update' | |
** transaction: start | |
* 2012-11-15 17:13:38 executing `deploy:update_code' | |
executing locally: "git ls-remote [email protected]:tyamuro/myapp.git master" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
macmini:kowabana tyamuro$ rails s | |
=> Booting Thin | |
=> Rails 3.2.8 application starting in development on http://0.0.0.0:3000 | |
=> Call with -d to detach | |
=> Ctrl-C to shutdown server | |
>> Thin web server (v1.5.0 codename Knife) | |
>> Maximum connections set to 1024 | |
>> Listening on 0.0.0.0:3000, CTRL+C to stop | |
[2012-11-22T17:31:02 (67438)] INFO : ** [Dumper] agent started as primary, max_filesize = 4294967296 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
macmini:kowabana tyamuro$ rake db:purge --trace | |
** Invoke db:purge (first_time) | |
** Invoke db:remove (first_time) | |
** Execute db:remove | |
rm db/development.sqlite3 | |
rm db/test.sqlite3 | |
rm db/schema.rb | |
** Invoke db:migrate (first_time) | |
** Invoke environment (first_time) | |
** Execute environment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
validates_format_of :website, :with => URI::regexp(%w(http https)), | |
:allow_blank => true, | |
:message => I18n.t('errors.messages.invalid_url') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
validates_format_of :website, :with => URI.regexp(/^https?/), | |
:allow_blank => true, | |
:message => I18n.t('errors.messages.invalid_url') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
macmini:rails_tutorial tyamuro$ cd /home/tyamuro/fjord/deploy/releases/20130125075645 && bundle install --gemfile /home/tyamuro/fjord/deploy/releases/20130125075645/Gemfile --path /home/tyamuro/fjord/deploy/shared/bundle --deployment --quiet --without development test | |
macmini:rails_tutorial tyamuro$ cap deploy:update | |
* 17:03:59 == Currently executing `deploy:update' | |
** transaction: start | |
* 17:03:59 == Currently executing `deploy:update_code' | |
executing locally: "git ls-remote [email protected]:tyamuro/rails_tutorial.git HEAD" | |
command finished in 6608ms | |
* executing "git clone -q [email protected]:tyamuro/rails_tutorial.git /home/tyamuro/fjord/deploy/releases/20130125080405 && cd /home/tyamuro/fjord/deploy/releases/20130125080405 && git checkout -q -b deploy 661ea0dc9acc82dc8f5f3e311dad789017273e77 && (echo 661ea0dc9acc82dc8f5f3e311dad789017273e77 > /home/tyamuro/fjord/deploy/releases/20130125080405/REVISION)" | |
servers: ["192.168.1.14"] | |
[192.168.1.14] executing command |
OlderNewer