File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ echo 'deb https://download.arangodb.com/arangodb310/DEBIAN/ /' | sudo tee /etc/a
13
13
sudo apt-get install apt-transport-https
14
14
sudo apt-get update || true
15
15
16
- sudo sh -c ' echo arangodb3 arangodb3/password password $ARANGODB_ROOT_PASSWD | debconf-set-selections'
17
- sudo sh -c ' echo arangodb3 arangodb3/password_again password $ARANGODB_ROOT_PASSWD | debconf-set-selections'
16
+ sudo sh -c " echo arangodb3 arangodb3/password password $ARANGODB_ROOT_PASSWD | debconf-set-selections"
17
+ sudo sh -c " echo arangodb3 arangodb3/password_again password $ARANGODB_ROOT_PASSWD | debconf-set-selections"
18
18
19
19
sudo apt-get install arangodb3=3.10.2-1
20
20
@@ -25,7 +25,7 @@ echo "#################################"
25
25
printf " \n"
26
26
27
27
echo " 1/3 - Creating 'phpfastcache' user:"
28
- curl -v -X POST -u root:$ARANGODB_ROOT_PASSWD --header ' accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/user << EOF
28
+ curl -v -X POST -u " root:$ARANGODB_ROOT_PASSWD " --header ' accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/user << EOF
29
29
{
30
30
"user" : "phpfastcache",
31
31
"passwd" : "travis"
34
34
printf " \n\n"
35
35
36
36
echo " 2/3 - Creating 'phpfastcache' database:"
37
- curl -v -X POST -u root:$ARANGODB_ROOT_PASSWD --header ' accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/database << EOF
37
+ curl -v -X POST -u " root:$ARANGODB_ROOT_PASSWD " --header ' accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/database << EOF
38
38
{
39
39
"name" : "phpfastcache",
40
40
"options" : {
46
46
printf " \n\n"
47
47
48
48
echo " 3/3 - Giving 'phpfastcache' user access to 'phpfastcache' database:"
49
- curl -v -X PUT -u root:$ARANGODB_ROOT_PASSWD --header ' accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/user/phpfastcache/database/phpfastcache << EOF
49
+ curl -v -X PUT -u " root:$ARANGODB_ROOT_PASSWD " --header ' accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/user/phpfastcache/database/phpfastcache << EOF
50
50
{
51
51
"grant" : "rw"
52
52
}
You can’t perform that action at this time.
0 commit comments