Browse Source

updated the db config url file location

Dmitri Sotnikov 9 years ago
parent
commit
0fedbf879a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frameworks/Clojure/luminus/setup.sh

+ 1 - 1
frameworks/Clojure/luminus/setup.sh

@@ -3,7 +3,7 @@
 fw_depends java resin leiningen
 
 # Update db host in the source file
-sed -i 's|:jdbc-uri   "jdbc:postgresql://.*/hello_world|:jdbc-uri   "jdbc:postgresql://'"${DBHOST}"':5432/hello_world|g' hello/src/hello/db/core.clj
+sed -i 's|:jdbc-uri   "jdbc:postgresql://.*/hello_world|:jdbc-uri   "jdbc:postgresql://'"${DBHOST}"':5432/hello_world|g' hello/env/prod/resources/config.edn
 
 cd hello
 lein clean