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
Solve the N + 1 problem with Ruby on Rails: acts-as-taggable-on
Programming with ruby (on the way)
part of the syntax of ruby ​​on rails
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
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
Docker the development environment of Ruby on Rails project
[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
Until you publish the app on the App Store by yourself
Challenge the settings for developing with vue.js on Rails 6
(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 config configuration
Ruby on Rails basic learning ①
[Ruby on Rails] about has_secure_password
Ruby on rails learning record-2020.10.07 ②
Commentary on partial! --Ruby on Rails
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] How to use simple_format to display the entered text with line breaks
[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
[Environment construction] Get the Ruby on Rails 6 development environment within 1 hour
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
[Apple login] Sign in with Apple implementation procedure (Ruby on Rails)
[Note] About the Fizz_Buzz problem (How Ruby on Rails works)
Ruby on Rails Overview (Beginner Summary)
[Ruby on Rails] Read try (: [],: key)
[Ruby on Rails] yarn install --check-files