- Ruby version
2.4.1
- Rails version
5.1.1
- And more, you can see on Gemfile
bundle install --without production
bundle install --deployment --without development test
rails db:migrate RAILS_ENV=production
rails assets:precompile RAILS_ENV=production
Get key secure
rails secret RAILS_ENV=production
bundle exec rails db:migrate RAILS_ENV=production
bundle exec rails assets:precompile RAILS_ENV=production
rails db:create
rails db:migrate
rails db:seed
rails maintenance:start
rails maintenance:end
ALTER DATABASE Database_Name CHARACTER SET utf8 COLLATE utf8_general_ci;