「Tepnote-onk」を編集中
この編集を取り消せます。
下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 | 編集中の文章 | ||
4行目: | 4行目: | ||
<nowiki>$ rails new . -d postgresql --css bootstrap | <nowiki>$ rails new . -d postgresql --css bootstrap | ||
− | $ bundle install --without test development | + | $ bundle install --without test development |
− | |||
{{font color||yellow|database.yml username:などを確認する (2箇所)}} | {{font color||yellow|database.yml username:などを確認する (2箇所)}} | ||
+ | /config/environments/production.rb config.assets.compile = true | ||
+ | $ createdb tepnote2_production | ||
+ | $ rails db:migrate RAILS_ENV=production | ||
+ | $ rails server</nowiki> | ||
− | |||
− | |||
− | + | /config/environments/production.rb | |
− | |||
− |