mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
9 lines
365 B
Bash
Executable file
9 lines
365 B
Bash
Executable file
# save pwd variable
|
|
# append pwd to nginx.conf prefix
|
|
# run this command with the new nginx.conf path
|
|
(cd app-1 && cargo leptos serve) & \
|
|
(cd app-2 && cargo leptos serve) & \
|
|
(cd shared-server-1 && cargo run) & \
|
|
(cd shared-server-2 && cargo run) & \
|
|
( current_dir=$(pwd) && \
|
|
docker run --rm -v "$current_dir"/nginx.conf:/etc/nginx/nginx.conf:ro -p 80:80 nginx)
|