-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cotls.sample
executable file
·59 lines (44 loc) · 1.04 KB
/
.cotls.sample
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/usr/bin/env bash
# SSH config
SSH_USER="user"
SSH_SERVER="server.example.com"
# Project CMS/FW info
PROJECT_CMS="drupal7" # drupal7 | wordpress | modx | nette | prestashop | radek
PROJECT_SETTINGS_FILE="sites/default/settings.php"
PROJECT_LOCAL_ROOT="www/" # path to local project directory
PROJECT_REMOTE_GIT_ROOT="httpdocs/"
PROJECT_REMOTE_GIT_BRANCH="origin master"
# Local Database config
DB_LOCAL_NAME="my_project_local"
DB_LOCAL_USER="root"
DB_LOCAL_PASS="root"
# Remote Database Config
DB_REMOTE_NAME="my_project"
DB_REMOTE_USER="project_user"
DB_REMOTE_PASS="password"
DB_REMOTE_PARAMETERS=(
# "--no-data"
)
DB_REMOTE_IGNORED_TABLES=(
"log"
)
# RSync config
RSYNC_PARAMETERS=(
)
RSYNC_REMOTE_ROOT_PATH="httpdocs/"
RSYNC_REMOTE_PATHS=(
"www" # root of remote path
)
RSYNC_EXCLUDE__WWW=(
"cache/*" # all files in cache folder under root of remote path
)
RSYNC_FORCE_LOCAL__WWW=(
"sites/default/settings.php"
)
# Batch arrays
BATCH__FULL=(
"dumpdown -tf=dump"
"fulldrop"
"import -tf=dump"
"syncdown"
)