Tepnote-onk

提供: wikipokpok
移動先: 案内検索


プロジェクトディレクトリ作成 移動 バージョン確認
$ rails new . -d postgresql --css bootstrap
$ bundle install  --without test development

database.yml username:などを確認する (2箇所)

/config/environments/production.rb
config.assets.compile = true
$ createdb tepnote2_production 
$ rails db:migrate RAILS_ENV=production
$ rails server