Skip to content

Commit b711b82

Browse files
committed
try to see if sed will update application properties
1 parent 054c876 commit b711b82

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

deployment/fix.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
#!/bin/bash
2+
23
sed -i "s|127\.0\.0\.1|$1|" src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
4+
5+
sed -i "s|127\.0\.0\.1|$1|" src/main/java/resources/application.properties
6+
37
cat src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
8+
9+
cat src/main/resources/application.properties

src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
spring.couchbase.bootstrap-hosts=couchbase://localhost
1+
spring.couchbase.bootstrap-hosts=http://127.0.0.1
22
spring.couchbase.bucket.name=user_profile
33
spring.couchbase.bucket.user=Administrator
44
spring.couchbase.bucket.password=password

0 commit comments

Comments
 (0)