aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-12-24 16:40:13 +0800
committercrupest <crupest@outlook.com>2022-12-24 16:40:13 +0800
commit96330e77cf13c690232c2c269d244d1ff62ff544 (patch)
tree5da07a7d82476254819df5c11a3d8927f753b14c
parent0ffeaaf82d0b8d3158e9d04cbe630498bdda2fe7 (diff)
downloadcrupest-96330e77cf13c690232c2c269d244d1ff62ff544.tar.gz
crupest-96330e77cf13c690232c2c269d244d1ff62ff544.tar.bz2
crupest-96330e77cf13c690232c2c269d244d1ff62ff544.zip
Add dev script with tmux.
-rwxr-xr-xwww-dev3
1 files changed, 3 insertions, 0 deletions
diff --git a/www-dev b/www-dev
new file mode 100755
index 0000000..38575e8
--- /dev/null
+++ b/www-dev
@@ -0,0 +1,3 @@
+#! /usr/bin/env sh
+exec tmux new-session 'cd docker/crupest-nginx/sites/www && pnpm dev' \; \
+ split-window -h 'cd docker/crupest-api/CrupestApi/CrupestApi && dotnet run --launch-profile dev'