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
commit71bda510363822defa74760d93947ff33a8775f0 (patch)
tree5da07a7d82476254819df5c11a3d8927f753b14c
parent49edcf00c2ef5d59a7a4d26277594e7cc92929de (diff)
downloadcrupest-71bda510363822defa74760d93947ff33a8775f0.tar.gz
crupest-71bda510363822defa74760d93947ff33a8775f0.tar.bz2
crupest-71bda510363822defa74760d93947ff33a8775f0.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'