This repository has been archived by the owner on Jul 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.sh
90 lines (84 loc) · 1.99 KB
/
.travis.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
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#!/bin/bash
set -ev
cat composer.json | sed 's/^\}$/,\
"minimum-stability": "dev",\
"prefer-stable": true,\
"extra": {\
"installer-paths": {\
"Packages\/Extensions\/{$name}\/": ["type:aimeos-extension"]\
}\
}\
}/' > composer.json.new
mv composer.json.new composer.json
composer require aimeos/aimeos-flow:dev-master
rm -rf Packages/Application/Aimeos.Shop
mv ../aimeos-flow Packages/Application/Aimeos.Shop
composer dump-autoload
mysql -e "CREATE DATABASE flow; GRANT ALL ON flow.* TO 'aimeos'@'127.0.0.1' IDENTIFIED BY 'aimeos'"
printf "
Neos:
Flow:
persistence:
backendOptions:
host: '127.0.0.1'
dbname: 'flow'
user: 'aimeos'
password: 'aimeos'
http:
baseUri: http://aimeos.org/
Aimeos:
Shop:
flow:
disableSites: 0
" > Configuration/Testing/Settings.yaml
printf "
-
name: 'Aimeos Extadm'
uriPattern: '{site}/extadm<ExtadmShopRoutes>'
subRoutes:
ExtadmShopRoutes:
package: 'Aimeos.Shop'
suffix: 'Extadm'
-
name: 'Aimeos Jqadm'
uriPattern: '{site}/jqadm<JqadmShopRoutes>'
subRoutes:
JqadmShopRoutes:
package: 'Aimeos.Shop'
suffix: 'Jqadm'
-
name: 'Aimeos Jsonadm'
uriPattern: '{site}/jsonadm<JsonadmShopRoutes>'
subRoutes:
JsonadmShopRoutes:
package: 'Aimeos.Shop'
suffix: 'Jsonadm'
-
name: 'Aimeos Jsonapi'
uriPattern: '{site}/jsonapi<JsonapiShopRoutes>'
subRoutes:
JsonapiShopRoutes:
package: 'Aimeos.Shop'
suffix: 'Jsonapi'
-
name: 'Aimeos Account'
uriPattern: '{site}/myaccount<AccountShopRoutes>'
subRoutes:
AccountShopRoutes:
package: 'Aimeos.Shop'
suffix: 'Account'
-
name: 'Default'
uriPattern: '{site}<DefaultSubroutes>'
subRoutes:
'DefaultSubroutes':
package: 'Aimeos.Shop'
suffix: 'Default'
-
name: 'Update'
uriPattern: '{site}<UpdateSubroutes>'
subRoutes:
'UpdateSubroutes':
package: 'Aimeos.Shop'
suffix: 'Update'
" > Configuration/Routes.yaml