Publish the app made with ruby on rails

Basically follow the article below

https://qiita.com/kazukimatsumoto/items/a0daa7281a3948701c39

Genfile is not set because PostgreSQL was used from the development environment.

Settings in config / environments / production.rb config.assets.compile = false changed to true

Since I had set production to start in the local environment, work to bring it back

~/.bash_profile


//export RAILS_SERVE_STATIC_FILES=1
//export TASKLEAF_DATABASE_PASSWORD=password

Comment out the above two

config/environments/production.rb


config.public_file_server.enabled = true

To

config/environments/production.rb


config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?

Back to

Published app

https://tasknotice.herokuapp.com/

Recommended Posts

Publish the app made with ruby on rails
Determine the current page with Ruby on Rails
I made a portfolio with Ruby On Rails
Programming with ruby (on the way)
[Ruby on Rails] View test with RSpec
Notes on using FCM with Ruby on Rails
[Ruby on Rails] Controller test with RSpec
[Portfolio] Bookmark management app [Ruby on Rails]
[AWS] Publish rails app with nginx + puma
[Ruby on Rails] Model test with RSpec
Understand code coverage with Rspec, the Ruby on Rails test framework
Introducing Rspec with Ruby on Rails x Docker
When the Ruby on Rails terminal rolls back
Ruby on Rails Elementary
Ruby on Rails basics
[Rails] Procedure for linking databases with Ruby On Rails
Ruby On Rails Association
[Ruby on Rails] Upload multiple images with refile
Try running an app made with Quarkus on Heroku
[Ruby on Rails] Delete s3 images with Active Strage
Run Ruby on Rails RSpec tests with GitHub Actions
[Ruby on Rails] How to change the column name
(Ruby on Rails6) Reflecting the posted content from the form
Created RSS / Atom format sitemap with Ruby on Rails
Try using the query attribute of Ruby on Rails
Ruby on rails learning record -2020.10.03
Portfolio creation Ruby on Rails
Ruby on rails learning record -2020.10.04
[Ruby on Rails] Debug (binding.pry)
Ruby on rails learning record -2020.10.05
Ruby on rails learning record -2020.10.09
Ruby on rails learning record-2020.10.07 ②
Ruby on rails learning record-2020.10.07 ①
Cancel Ruby on Rails migration
Ruby on rails learning record -2020.10.06
Ruby on Rails validation summary
Ruby on Rails Basic Memorandum
[Ruby on Rails] Only the user who posted can edit
I tried installing Ruby on Rails related plugin with vim-plug
I want to push an app made with Rails 6 to GitHub
[Ruby on Rails] Add a column with a foreign key constraint
[Ruby on Rails] Quickly display the page title in the browser
(Ruby on Rails6) Display of the database that got the id of the database
Delete all the contents of the list page [Ruby on Rails]
A note about the seed function of Ruby on Rails
[Ruby on Rails] Automatically enter the address from the zip code
[Ruby on Rails] Implement login function by add_token_to_users with API
[Note] About the Fizz_Buzz problem (How Ruby on Rails works)
Install Ruby on MSYS2 with pacman
[Ruby on Rails] Read try (: [],: key)
Ruby on Rails variable, constant summary
Installing Ruby + Rails on Ubuntu 18.04 (rbenv)
[Ruby on Rails] Introduced paging function
Basic knowledge of Ruby on Rails
Progate Ruby on Rails5 Looking Back
How to use Ruby on Rails
Ruby on Rails Japanese-English support i18n
(Ruby on Rails6) "Erase" posted content
[Ruby on Rails] CSV output function
Ruby on Rails 6.0 environment construction memo
[Ruby on Rails] Confirmation page creation