SR
Size: a a a
SR
AA
𝓒
bundle exec rake db:migrate RAILS_ENV=PRODUCTION
config/environments/*.rb
по принципу default: &defaultЯ так понял и в database.yml надо прописать имя пароль и что -там ещё.
source_path: app/javascript
source_entry_path: packs
public_output_path: packs
cache_path: tmp/cache/webpacker
# Additional paths webpack should lookup modules
# ['app/assets', 'engine/foo/app/assets']
resolved_paths: []
# Reload manifest.json on all requests so we reload latest compiled packs
cache_manifest: false
extensions:
- .coffee
- .erb
- .js
- .jsx
- .ts
- .vue
- .sass
- .scss
- .css
- .png
- .svg
- .gif
- .jpeg
- .jpg
production:
<<: *default
# Production depends on precompilation of packs prior to booting for performance.
compile: false
# Cache manifest.json for performance
cache_manifest: true
production:
<<: *default
database: prod
username: postgres
password: postgres
𝓒