diff --git a/run.local b/run.local index 5393caaa5..a09bde14f 100755 --- a/run.local +++ b/run.local @@ -64,6 +64,17 @@ function npm:build:css { --output ../source/build/tailwind.css "${args[@]}" } +function setup { + git submodule update --recursive --init + git submodule update --recursive --remote || true + + composer install + (cd assets && pnpm install) + + (cd assets && NODE_ENV=production npm:build:css) + APP_ENV=prod generate +} + function publish { git push