aboutsummaryrefslogtreecommitdiff
path: root/tools/cru-py/www-dev
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cru-py/www-dev')
-rw-r--r--tools/cru-py/www-dev8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/cru-py/www-dev b/tools/cru-py/www-dev
new file mode 100644
index 0000000..f56d679
--- /dev/null
+++ b/tools/cru-py/www-dev
@@ -0,0 +1,8 @@
+#! /usr/bin/env sh
+
+set -e
+
+cd "$(dirname "$0")/../.."
+
+exec tmux new-session 'cd docker/crupest-nginx/sites/www && pnpm start' \; \
+ split-window -h 'cd docker/crupest-api/CrupestApi/CrupestApi && dotnet run --launch-profile dev'