mirror of
https://github.com/postalserver/postal.git
synced 2026-10-20 19:26:07 +00:00
don't compile assets on initialization if they already are built
This commit is contained in:
+6
-1
@@ -70,7 +70,12 @@ case "$1" in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
initialize)
|
initialize)
|
||||||
run "bundle exec rake assets:precompile db:schema:load db:seed"
|
echo 'Initializing database'
|
||||||
|
run "bundle exec rake db:schema:load db:seed"
|
||||||
|
if [ ! -f "public/assets/.prebuilt" ]; then
|
||||||
|
echo 'Compiling Assets'
|
||||||
|
run "bundle exec rake assets:precompile"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
default-dkim-record)
|
default-dkim-record)
|
||||||
|
|||||||
Reference in New Issue
Block a user