Add setup
task
Runs initial setup tasks to get the site working.
This commit is contained in:
parent
768c32f137
commit
962587660c
11
run.local
11
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue