mirror of
https://github.com/iritmaximus/brewery.git
synced 2026-10-12 19:13:49 +03:00
added compiling static files
This commit is contained in:
@@ -13,3 +13,4 @@ services:
|
|||||||
RAILS_ENV: "production"
|
RAILS_ENV: "production"
|
||||||
SECRET_KEY_BASE: "b21eb384e49d7620a02c6288eb462b0e5dc82038b4d7af563f0f067d4071a3a3"
|
SECRET_KEY_BASE: "b21eb384e49d7620a02c6288eb462b0e5dc82038b4d7af563f0f067d4071a3a3"
|
||||||
RAILS_LOG_TO_STDOUT: "true"
|
RAILS_LOG_TO_STDOUT: "true"
|
||||||
|
RAILS_SERVE_STATIC_FILES: "true"
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
rails assets:precompile
|
||||||
rails db:migrate
|
rails db:migrate
|
||||||
rails db:seed
|
rails db:seed
|
||||||
bundle exec rails server -b 0.0.0.0 -p 5555
|
bundle exec rails server -b 0.0.0.0 -p 5555
|
||||||
|
|||||||
Reference in New Issue
Block a user