Open Sec-il-n opened 3 years ago
rails c を使う $ cd /var/app/current $ RAILS_ENV=production bundle exec rails c 参考
$ cd /var/app/current
$ RAILS_ENV=production bundle exec rails c
seedデータ投入 $ cd /var/app/current $ RAILS_ENV=production bundle exec rails db:seed
$ RAILS_ENV=production bundle exec rails db:seed
rails c を使う
$ cd /var/app/current
$ RAILS_ENV=production bundle exec rails c
参考seedデータ投入
$ cd /var/app/current
$ RAILS_ENV=production bundle exec rails db:seed