Comments (5)
課題1
$ pwd
/home/hori/public_html/railsgirls
$ ls
app bin config config.ru db Gemfile Gemfile.lock lib log public Rakefile README.md README.rdoc test tmp vendor
課題2
$ bundle exec rails server -b 0.0.0.0
from railsgirls.
確認しました、OKですー
ちなみに、IPは初期値がlocalhostなので、指定しなくても大丈夫かと思います。
$bundle exec rails server --help
Usage: rails server [mongrel, thin etc] [options]
-p, --port=port Runs Rails on the specified port.
Default: 3000
-b, --binding=IP Binds Rails to the specified IP.
Default: localhost
-c, --config=file Uses a custom rackup configuration.
-d, --daemon Runs server as a Daemon.
-u, --debugger Enables the debugger.
-e, --environment=name Specifies the environment to run this server under (test/development/production).
Default: development
-P, --pid=pid Specifies the PID file.
Default: tmp/pids/server.pid
-h, --help Shows this help message.
from railsgirls.
@fr-matsuo
実はlocalhost
だと外部PCからアクセスできないです。
Rails 4.2 からこのように変更されたので読んでみるとよいかも
http://railsguides.jp/4_2_release_notes.html#rails-server%E3%81%AE%E3%83%87%E3%83%95%E3%82%A9%E3%83%AB%E3%83%88%E3%83%9B%E3%82%B9%E3%83%88
from railsgirls.
ちらっとですがみましたー。
from railsgirls.
OKなのでクローズします
from railsgirls.
Related Issues (19)
- issue2 モデル・ビュー・コントローラ作成 HOT 6
- issue3 デザインを変更する HOT 1
- issue4 写真アップロード機能を追加する HOT 1
- issue5 routes を調整 ページ追加
- issue6 姓と名に分けてフルネームを表示するメソッドを作成 HOT 1
- マイグレーション
- fields_for
- Ruby on Rails 研修内容メモ
- Ruby on Rails 研修概要
- Rails研修フォーム仕様
- Rails - アプリケーションの雛形作成・構造理解
- Rails:構造理解
- Rails - 関連データベース作成
- Rails - バリデーション
- Rails - 多対多関連とRESTfulなルーティング
- Rails - リスト表示順カスタマイズ
- Rails - gemによる機能拡張
- Rails - 多言語対応
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from railsgirls.