feat(global) container and project structure update

This commit is contained in:
lumither committed 2024-08-13 22:32:04 +08:00
1 parent fbc9736831
commit 9f72bb01b7
11 files changed
+29 -37

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. "$DIR/.env"
sudo groupadd nocturne
USERNAME="$(whoami)"
echo "$USERNAME"
sudo usermod -aG nocturne "$USERNAME"
sudo mkdir -p "$LOG_ROOT_DIR/backend" "$LOG_ROOT_DIR/frontend"
sudo chown -R :nocturne "$LOG_ROOT_DIR"
sudo chmod -R 775 "$LOG_ROOT_DIR"