[#44] Fej can now easily startup a Vite development server
parent
0055667877
commit
628a918682
3
fejctl
3
fejctl
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
image='chewingbever/fej'
|
||||
web_dir='web'
|
||||
|
||||
# Small wrapper around the docker-compose command
|
||||
#
|
||||
|
@ -98,10 +99,12 @@ function main() {
|
|||
# Building
|
||||
b | build ) dcr build --bin "$bin" && dc -- logs -f app ;;
|
||||
br | build-release ) dc -br build ;;
|
||||
bf | build-frontend ) cd "$web_dir" && yarn run build ;;
|
||||
|
||||
# Running
|
||||
r | run ) dcr run --bin "$bin" && dc -- logs -f app ;;
|
||||
rr | run-release ) dc -br -- up --build --detach && dc -r -- logs -f app ;;
|
||||
rf | run-frontend ) dcr run --bin server && cd "$web_dir" && yarn run dev ;;
|
||||
s | stop ) dc down ;;
|
||||
sr | stop-release ) dc -r stop ;;
|
||||
|
||||
|
|
Loading…
Reference in New Issue