-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme,runone,script,howto.txt
67 lines (34 loc) · 1.19 KB
/
readme,runone,script,howto.txt
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
60
61
62
63
64
65
66
67
Paste this into the commandline to run one script or some commands again later..
### ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# To run one script..
# read settings from last run...
#
read appn sfil sfil2 mpwd parm0</tmp/"_brvar1202_${USER}".txt
echo $appn $sfil $sfil2 $mpwd $parm0
#
# NOW cd into your project
cd /srv/share/test/brails/brail484b45
# run the script
$sfil2/script.sh
### --- examples like.. -----
$sfil2/activestorage.sh
chmod +x $sfil2/jqueryautocomplete.sh
dos2unix $sfil2/jqueryautocomplete.sh
$sfil2/jqueryautocomplete.sh
cd brail542c16
$sfil2/bootstrap1.sh
Notes..
cat /tmp/"_brvar1202_${USER}".txt
albe@pmdsdata7:/srv/share/test/brails$ cat /tmp/"_brvar1202_${USER}".txt
brail484b45 bashrail ../bashrail /srv/share/test/brails bashrail/1mk.sh /home/albe
albe@pmdsdata7:/srv/share/test/brails$
### ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# To Run the whole thing normally...
cd /srv/web/2rail
bashrail/1mk.sh brail484b27
# on pmdsdata7
#
cd /srv/file/test/brails
appn='brail542c17';
chmod +x bashrail/*.sh; bashrail/1mk.sh $appn 2>&1 | tee -a ${appn}_sh_log$(date +"__%Y-%m-%d_%H.%M.%S").log
------