Skip to content

Commit b36d74c

Browse files
test
1 parent f4f637f commit b36d74c

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

hugegraph-loader/assembly/travis/install-hugegraph-from-source.sh

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,19 @@ cp -r apache-hugegraph-*/. ${HTTPS_SERVER_DIR}
4242
cd "$(find apache-hugegraph-* | head -1)"
4343
# start HugeGraphServer with http protocol
4444
bin/init-store.sh || exit 1
45+
sed -i 's|#auth.authenticator=.*|auth.authenticator=org.apache.hugegraph.auth.StandardAuthenticator|' conf/rest-server.properties
46+
sed -i 's|#auth.admin_pa=.*|auth.admin_pa=pa|' conf/rest-server.properties
4547
bin/start-hugegraph.sh || exit 1
4648

47-
cd ../${HTTPS_SERVER_DIR}
48-
REST_SERVER_CONFIG="conf/rest-server.properties"
49-
GREMLIN_SERVER_CONFIG="conf/gremlin-server.yaml"
50-
sed -i "s?http://127.0.0.1:8080?https://127.0.0.1:8443?g" "$REST_SERVER_CONFIG"
51-
sed -i "s/rpc.server_port=8091/rpc.server_port=8092/g" "$REST_SERVER_CONFIG"
52-
sed -i "s/#port: 8182/port: 8282/g" "$GREMLIN_SERVER_CONFIG"
53-
echo "gremlinserver.url=http://127.0.0.1:8282" >> ${REST_SERVER_CONFIG}
54-
55-
# start HugeGraphServer with https protocol
56-
bin/init-store.sh
57-
bin/start-hugegraph.sh
58-
cd ../
49+
#cd ../${HTTPS_SERVER_DIR}
50+
#REST_SERVER_CONFIG="conf/rest-server.properties"
51+
#GREMLIN_SERVER_CONFIG="conf/gremlin-server.yaml"
52+
#sed -i "s?http://127.0.0.1:8080?https://127.0.0.1:8443?g" "$REST_SERVER_CONFIG"
53+
#sed -i "s/rpc.server_port=8091/rpc.server_port=8092/g" "$REST_SERVER_CONFIG"
54+
#sed -i "s/#port: 8182/port: 8282/g" "$GREMLIN_SERVER_CONFIG"
55+
#echo "gremlinserver.url=http://127.0.0.1:8282" >> ${REST_SERVER_CONFIG}
56+
#
57+
## start HugeGraphServer with https protocol
58+
#bin/init-store.sh
59+
#bin/start-hugegraph.sh
60+
#cd ../

0 commit comments

Comments
 (0)