2 Rails pico planner camel case camel pico planner _ pico_planner snake case snake - chain case chain pico planner pico-planner CSS id class 2.3 Rails

Similar documents
9 Bootstrap Font Awesome 52 + gem 'bootstrap', '4.0.0.alpha6' 53 + gem 'tether-rails' Gem bootstrap tether-rails Bootstrap JavaScript Tether Ctrl-C Ra

IIJ Technical WEEK アプリ開発を楽にするRuby PaaS「MOGOK」について

ii

3 top#index 1 web router.ex web/router.ex 12 scope "/", NanoPlanner do 13 pipe_through browser get "/", TopController, index 16 end URL / to

11 Bootstrap Font Awesome $ cd ~/projects/modest_greeter $ npm install --save jquery popper.js tether --save package.json depen

目次 1. Serverspec とは 1.1. Serverspecとは 1.2. Serverspecで出来る事 2. セットアップ 2.1. 必要なもの 2.2. インストール 3. デモ 3.1. デモ環境について 3.2. テスト対象サーバーの登録 3.3. サンプルテストの中身 3.4.

9 rbenv rbenv ruby 9.1 rbenv rbenv rbenv ruby ruby-build ruby 9.2 rbenv macos.bash_profile ~/.bash_profile ~/.bash_profile.bak $ touch ~/.bash_profile

PostgreSQL iphone/


8 7 + <div class='col-12 col-md-8'> 8 <%= item.description %> 9 </div> 10 </div> 11 <% end %> 12 </div> class container container-fluid PicoPlan

(28) SFC ( /Web

第 1 章ターミナルの使い方 Ubuntu の場合は同種のソフトウェアに 端末 という名前が付いていますが 本書では OS X に合わせて ターミナル と呼ぶことにします 端末を起動するには Dash *1 に対して term というキーワードを入力し 検索結果の中から 端末 を探してクリックします

Rails4でつくるInstagramビューアーアプリ

■サイトを定義する

10 (1) s 10.2 rails c Rails 7 > item = PlanItem.new => #<PlanItem id nil, name nil,...> > item.name = "" => "" > item.valid? => true valid? true false

progate-team

bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows ˆ Windows10 64bit Wi

vuejs_meetup.key

利用者

2 Java 35 Java Java HTML/CSS/JavaScript Java Java JSP MySQL Java 9:00 17:30 12:00 13: 項目 日数 時間 習得目標スキル Java 2 15 Web Java Java J

Wiki

GitLab + Dokku で作る CI/ CD 環境 Kazuhiro NISHIYAMA 第 78 回 Ruby 関西勉強会 2017/07/29 Powered by Rabbit 2.2.0

A : kerl kerl Erlang/OTP Erlang/OTP 2 2 Elixir/Phoenix URL 2 PDF A.2 Bash macos.bash_profile exp

Rによる計量分析:データ解析と可視化 - 第2回 セットアップ

SmartBrowser_document_build30_update.pptx

PowerPoint プレゼンテーション

1

WEBサービス超入門 mask.key

IIJ GIO, SaaS, MOGOK

Agenda! 事前準備

_...j.f......_..


B 20 Web

untitled

( )

ii II Web Web HTML CSS PHP MySQL Web Web CSS JavaScript Web SQL Web

m_sotsuron


Contao Web ' Contao Contao '

World Wide Web =WWW Web ipad Web Web HTML hyper text markup language CSS cascading style sheet Web Web HTML CSS HTML

key

6 (1) app.html.eex 28 lib/nano_planner_web/templates/layout/app.html.eex 27 <footer> Oiax Inc <%= this_year() %> Oiax Inc. 29 </footer>

8 4 end 5 6 private def message 7 'Hello' 8 end 9 end g = Greeting.new 12 g.hello $ ruby lib/lessons/greeting.rb Hello Ruby public method protec

19 3!! (+) (>) (++) (+=) for while 3.1!! (20, 20) (1)(Blocks1.java) import javax.swing.japplet; import java.awt.graphics;

Action Cableで簡易チャットを作ってみた Kazuhiro NISHIYAMA 第 87 回 Ruby 関西勉強会 2019/07/13 株式会社 Ruby 開発 Powered by Rabbit 2.2.1

クラウド時代のインフラ構成/変更管理とコンプライアンス管理

アルカリイオン水ではじめよう


Actual ESS Adapterの使用について

短大29号.indd

([ ],), : [Name], name1 name2 name10 4, 2 SuperSQL, ([ ]!), name1 name2 : [Name]! name SuperSQL,,,,,,, < < > } =,

6 2 s µ µµµ µµµµ µ µ h µs µ µµµµ µ µ µ s mµµµµµ µµµ µµ µ u m µmµµµµµ µµ µ µ µ µ µ µ µ µ s 1

理解のための教材開発と授業 (宮内).PDF

ruby learner - Ruby

IPSJ SIG Technical Report Vol.2014-EIP-63 No /2/21 1,a) Wi-Fi Probe Request MAC MAC Probe Request MAC A dynamic ads control based on tra

プレゼンテーション

Contao 3 Contao Conference 2012

untitled

2


ィ ィェィィ02 08ィェィェ06ィーィ 02ィィ ィェィィ ィ ィョィエ0209ィー09ィョ06ィエィィ ィェィィィヲ ィィ ィィ ィケ04ィョ02ィャ0401 ィー0201ィェ

ALTIRIS DEPLOYMENT SOLUTION

JSplus23蜿キ.indd

国文研ニューズ35.indd

Wiki Wiki Wiki...

16 (2) 23 - <div class="col-12 col-md-4"> </div> 23 + <div class="col-12 col-md-4 bg-info text-white text-md-right"> </div> HTML bg-info #17


アップデートマニュアル


地域と文化資産


<Documents Title Here>

DEIM Forum 2019 H2-2 SuperSQL SuperSQL SQL SuperSQL Web SuperSQL DBMS Pi

ohp.mgp

…l…b…g…‘†[…N…v…“…O…›…~…fi…OfiÁŸ_

実施していただく前に

Ruby on Rails (RoR) を弄る

¥×¥í¥°¥é¥ß¥ó¥°±é½¬I Exercise on Programming I [1zh] ` `%%%`#`&12_`__~~~ alse

Web±ÜÍ÷¤Î³Ú¤·¤µ¤ò¹â¤á¤ëWeb¥Ú¡¼¥¸²ÄÄ°²½¥·¥¹¥Æ¥à

本文/年次報告  67‐107

32号 701062/きじ1

10西宮市立中央病院/本文

北九州高専 志遠 第63号/表紙・表4

特別プログラム

Ł\”ƒ

報告書(第2回NGO‐JICA)/はじめに・目次

P-12 P P-14 P-15 P P-17 P-18 P-19 P-20 P-21 P-22

ニューガラス100/100目次

untitled


CW3_A1083D05.indd

program08.pdf

jquery

_勉強会_丸山さつき_v3

(GitHub, Twitter) 由来 :m.yokoyama 発音例 :myokoyamaa ソフトウェア開発者将棋指し ( アマ三段 )

15 Phoenix HTML 15.1 ModestGreeter RAVT web/router.ex web/router.ex : 12 scope "/", ModestGreeter do 13 pipe_through :browser get "/", TopCont

WebRTC P2P,. Web,. WebRTC. WebRTC, P2P, i

ホームページ制作 基礎編 (HTML5 CSS3 コーディング )

サービス付き高齢者向け住宅賠償責任保険.indd

2

Transcription:

2 Rails 2.1 DBMS PicoPlanner SimpleGreeter DBMS Ruby on Rails 3 PostgreSQL MySQL SQLite3 SQLite3 2.2 Web PicoPlanner pico planner 11

2 Rails pico planner camel case camel pico planner _ pico_planner snake case snake - chain case chain pico planner pico-planner CSS id class 2.3 Rails PicoPlanner $ cd ~/projects $ rails new pico_planner -B -C -T -d sqlite3 $ cd pico_planner rails new 1 2.1 bundle install Gemfile -B -C -T PicoPlanner -d DBMS -d DBMS SQLite3 12

2.4 Gemfile 2.1 rails new -B bundle install -C ActionCable -T -d sqlite3 DBMS SQlite3 -d mysql DBMS MySQL -d postgresql DBMS PostgreSQL rails new 1 app/views/layouts/application.html.erb config/application.rb 2.4 Gemfile Gemfile PicoPlanner Gem 1 Gemfile 1 source 'https//rubygems.org' 2 3 git_source(github) do repo_name 4 repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/") 5 "https//github.com/#{repo_name}.git" 6 end 13

2 Rails 7 8 + ruby '2.3.3' 9 10 # Bundle edge Rails instead gem 'rails', github 'rails/rails' ruby 2.3.3 2.3.3 ruby PicoPlanner ruby PicoPlanner ruby Gemfile # Gemfile Gemfile 1 source 'https//rubygems.org' 2 3 git_source(github) do repo_name 4 repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/") 5 "https//github.com/#{repo_name}.git" 6 end 7 8 ruby '2.3.3' 9 10 gem 'rails', '~> 5.0.1' 11 gem 'sqlite3' 12 gem 'puma', '~> 3.0' 13 gem 'sass-rails', '~> 5.0' 14 gem 'uglifier', '>= 1.3.0' 15 gem 'coffee-rails', '~> 4.2' 16 17 gem 'jquery-rails' 18 gem 'turbolinks', '~> 5' 14

2.4 Gemfile 19 gem 'jbuilder', '~> 2.5' 20 21 group development, test do 22 gem 'byebug', platform mri 23 end 24 25 group development do 26 gem 'web-console', '>= 3.3.0' 27 gem 'listen', '~> 3.0.5' 28 gem 'spring' 29 gem 'spring-watcher-listen', '~> 2.0.0' 30 end 31 32 gem 'tzinfo-data', platforms [mingw, mswin, x64_mingw, jruby] Gemfile 10 Gemfile 10 - gem 'rails', '~> 5.0.1' 10 + gem 'rails', '= 5.0.1' Rails '~> 5.0.1' bundle update Rails 5.0. 5.0.1 Rails 5.0.1 Gemfile coffee-rails Gemfile 15 - gem 'coffee-rails', '~> 4.2' 15

2 Rails JavaScript CoffeeScript Gem PicoPlanner Gemfile 2 Gemfile 31-32 - gem 'tzinfo-data', platforms [mingw, mswin, x64_mingw, jruby] tzinfo-data Windows JRuby Gem Gem $ bundle install 2.5 $ ls db seeds.rb db seeds.rb $ rails dbcreate 16

2.6 Bootstrap Font Awesome Created database 'db/development.sqlite3' Created database 'db/test.sqlite3' db $ ls db development.sqlite3 seeds.rb test.sqlite3.sqlite3 development.sqlite3 test.sqlite3 Ruby on Rails 5.0 2.6 Bootstrap Font Awesome Bootstrap Font Awesome 9 Gemfile Gemfile 18 gem 'jbuilder', '~> 2.5' 19 + 20 + gem 'bootstrap', '4.0.0.alpha6' 21 + gem 'tether-rails' 22 + gem 'font-awesome-sass' 23 24 group development, test do 17

2 Rails $ bundle install $ rm app/assets/stylesheets/application.css application.scss app/assets/stylesheets/application.scss (New) 1 @import 'bootstrap'; 2 @import 'font-awesome-sprockets'; 3 @import 'font-awesome'; 4 @import '*'; app/assets/stylesheets application.scss 4 @import '*'; SCSS $ touch app/assets/stylesheets/main.scss app/assets/javascripts application.js app/assets/javascripts/application.js 13 //= require jquery 14 //= require jquery_ujs 15 //= require turbolinks 16 + //= require tether 17 + //= require bootstrap-sprockets 18 //= require_tree. app/views/layouts application.html.erb 18

2.7 README.md app/views/layouts/application.html.erb 1 <!DOCTYPE html> 2 <html> 3 <head> 4 + <meta name='viewport' content='width=device-width, initial-scale=1'> 5 <title>picoplanner</title> viewport meta width=device-width initial-scale=1 2.7 README.md README.md README.md 1 # README 2 3 This README would normally document whatever steps are necessary to get the 4 application up and running. README.md 1 # PicoPlanner 2 3 Ruby on Rails 5.0 Rails 4 5 ## 6 7 * macos 10.12 OS X v10.11 Ubuntu 16.04 19

2 Rails 8 * Ruby 2.3.3 9 10 ## 11 12 ```text 13 $ gem install bundler 14 $ bundle install 15 $ rails dbsetup 16 ``` 17 18 ## 19 20 ```text 21 $ rails s 22 ``` README.md Rails Markdown Markdown HTML 1 # HTML h1 5 2 ## HTML h2 7 8 * 12 16 HTML pre ```text $ gem install bundler $ bundle install $ rails dbsetup ``` 3 ``` 12 text Ruby ruby Markdown Ruby 20

2.7 README.md Atom ctrl + shift + M Markdown 2.1 2.1 Markdown README.md Rails README.md Rails 21

2 Rails Rails README.md GitHub 22