-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup-server.sh
executable file
·41 lines (32 loc) · 1.28 KB
/
setup-server.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/env bash
current_dir_path=$(dirname $0)
# Clear the crontab.
bash $current_dir_path/clear-crontab.sh
# Format: setup-ssh-key.sh path-to-key
bash $current_dir_path/setup-ssh-key.sh ~/.ssh/id_rsa
bash $current_dir_path/setup-ssh-key.sh ~/.ssh/unshacled_server_rsa
bash $current_dir_path/setup-ssh-key.sh ~/.ssh/unshacled_waterfall_rsa
# Format: setup-mirror.sh \
# source-username source-project \
# target-username target-project \
# source-website target-website
# Mirror the UnSHACLed client repo
bash $current_dir_path/setup-mirror.sh \
dubious-developments UnSHACLed \
dubious-developments UnSHACLed-client \
github.com github.ugent.be
# Mirror the UnSHACLed client repo's wiki.
bash $current_dir_path/setup-mirror.sh \
dubious-developments UnSHACLed.wiki \
dubious-developments UnSHACLed-client.wiki \
github.com github.ugent.be
# Mirror the UnSHACLed server repo.
bash $current_dir_path/setup-mirror.sh \
dubious-developments UnSHACLed-server \
dubious-developments UnSHACLed-server \
github.com github.ugent.be
# Mirror the UnSHACLed waterfall repo.
bash $current_dir_path/setup-mirror.sh \
dubious-developments UnSHACLed-waterfall \
dubious-developments UnSHACLed-waterfall \
github.com github.ugent.be