مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-12-01 05:43:04 +00:00
require assets for precompilation of assets
هذا الالتزام موجود في:
@@ -69,7 +69,7 @@ File.open("#{WC_PATH}/lib/postal/version.rb", 'w') { |f| f.write(version_file) }
|
|||||||
# Compile all the assets
|
# Compile all the assets
|
||||||
unless ENV['NO_ASSETS']
|
unless ENV['NO_ASSETS']
|
||||||
puts "\e[44;37mCompiling assets\e[0m"
|
puts "\e[44;37mCompiling assets\e[0m"
|
||||||
system!("cd #{WC_PATH} && bundle exec rake assets:precompile")
|
system!("cd #{WC_PATH} && RAILS_GROUPS=assets bundle exec rake assets:precompile")
|
||||||
system!("touch #{WC_PATH}/public/assets/.prebuilt")
|
system!("touch #{WC_PATH}/public/assets/.prebuilt")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم