Jelajahi Sumber

Add assets install static

gabriel 6 tahun lalu
induk
melakukan
9f58c1e8e1
1 mengubah file dengan 5 tambahan dan 2 penghapusan
  1. 5 2
      composer.json

+ 5 - 2
composer.json

@@ -209,6 +209,7 @@
         "workflow-default": "php bin/console workflow:default --class=CablemodemBundle\\\\Entity\\\\Cablemodem --all",
         "profile-yml": "cp -n app/config/profile.yml.dist app/config/profile.yml",
 	    "update-data": "php bin/console ik:update:data 'app/DoctrineMigrations/src/'",
+        "assets-static": " bin/console assets:install web",
         "post-install-cmd": [
             "@workflows-commands",
             "@profile-yml",
@@ -221,7 +222,8 @@
             "@doctrine-migrations",
             "@auto-increment",
             "@init-template-docsis",
-            "@workflow-default"
+            "@workflow-default",
+            "@assets-static"
         ],
         "post-update-cmd": [
             "@workflows-commands",
@@ -230,7 +232,8 @@
             "@mkdir-dir-cache-sessions-logs",
             "@chmod-dir-cache-sessions-logs",
             "@auto-increment",
-            "@workflow-default"
+            "@workflow-default",
+            "@assets-static"
         ]
     },
     "extra": {