Update teammate.sh
Browse files- teammate.sh +14 -4
teammate.sh
CHANGED
|
@@ -1,10 +1,21 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
# =============================================================
|
| 3 |
# Hackathon Setup each for teammates
|
| 4 |
-
# Make changes in CONFIGURATION section before running
|
|
|
|
|
|
|
| 5 |
# Run with: source teammate.sh
|
| 6 |
# =============================================================
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
RED='\033[0;31m'
|
| 9 |
GREEN='\033[0;32m'
|
| 10 |
YELLOW='\033[1;33m'
|
|
@@ -21,12 +32,11 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
|
|
| 21 |
exit 1
|
| 22 |
fi
|
| 23 |
|
| 24 |
-
# configuration
|
| 25 |
-
OWNER="" # <-- replace with your username of the person who ran hackathon_setup.sh before this
|
| 26 |
PROJECT_NAME="training2614"
|
| 27 |
-
TEAM_FOLDER="" # <-- replace with your team_name as done by OWNER
|
| 28 |
WRITE_TO_BASHRC="yes"
|
| 29 |
|
|
|
|
|
|
|
| 30 |
SCRATCH_BASE="/p/scratch/$PROJECT_NAME"
|
| 31 |
TEAM_DIR="$SCRATCH_BASE/$OWNER/$TEAM_FOLDER"
|
| 32 |
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
# =============================================================
|
| 3 |
# Hackathon Setup each for teammates
|
| 4 |
+
# Make changes in CONFIGURATION section below before running this script:
|
| 5 |
+
# 1) for property OWNER: add your team lead user name from Juelich
|
| 6 |
+
# 2) for property TEAM_FOLDER: add your team name (exactly same what the team_leader added in hackathon_setup.sh)
|
| 7 |
# Run with: source teammate.sh
|
| 8 |
# =============================================================
|
| 9 |
|
| 10 |
+
# =============================================================
|
| 11 |
+
# CONFIGURATION — edit before running
|
| 12 |
+
# =============================================================
|
| 13 |
+
|
| 14 |
+
OWNER="" # <-- replace with your team_lead username from Juelich
|
| 15 |
+
TEAM_FOLDER="" # <-- replace with your team_name as done by OWNER
|
| 16 |
+
|
| 17 |
+
# =============================================================
|
| 18 |
+
|
| 19 |
RED='\033[0;31m'
|
| 20 |
GREEN='\033[0;32m'
|
| 21 |
YELLOW='\033[1;33m'
|
|
|
|
| 32 |
exit 1
|
| 33 |
fi
|
| 34 |
|
|
|
|
|
|
|
| 35 |
PROJECT_NAME="training2614"
|
|
|
|
| 36 |
WRITE_TO_BASHRC="yes"
|
| 37 |
|
| 38 |
+
# =============================================================
|
| 39 |
+
|
| 40 |
SCRATCH_BASE="/p/scratch/$PROJECT_NAME"
|
| 41 |
TEAM_DIR="$SCRATCH_BASE/$OWNER/$TEAM_FOLDER"
|
| 42 |
|