Browse Source

updated source listing, fixed db url

Sotnikov, Dmitri 9 years ago
parent
commit
f8cf4dfb79
2 changed files with 21 additions and 21 deletions
  1. 1 1
      frameworks/Clojure/luminus/setup.sh
  2. 20 20
      frameworks/Clojure/luminus/source_code

+ 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/env/prod/resources/config.edn
+sed -i 's|127.0.0.1|'"${DBHOST}"'|g' hello/env/prod/resources/config.edn
 
 cd hello
 lein clean

+ 20 - 20
frameworks/Clojure/luminus/source_code

@@ -1,16 +1,18 @@
 ./hello/Procfile
 ./hello/README.md
-./hello/env/dev/clj/hello
-./hello/env/dev/clj/hello/config.clj
 ./hello/env/dev/clj/hello/dev_middleware.clj
-./hello/env/prod/clj/hello
-./hello/env/prod/clj/hello/config.clj
-./hello/profiles.clj
+./hello/env/dev/clj/hello/env.clj
+./hello/env/dev/clj/user.clj
+./hello/env/dev/resources/config.edn
+./hello/env/dev/resources/log4j.properties
+./hello/env/prod/clj/hello/env.clj
+./hello/env/prod/resources/config.edn
+./hello/env/prod/resources/log4j.properties
+./hello/env/test/resources/config.edn
 ./hello/project.clj
 ./hello/resources/docs/docs.md
-./hello/resources/log4j.properties
-./hello/resources/migrations/20160114154818-add-users-table.down.sql
-./hello/resources/migrations/20160114154818-add-users-table.up.sql
+./hello/resources/migrations/20160307145316-add-users-table.down.sql
+./hello/resources/migrations/20160307145316-add-users-table.up.sql
 ./hello/resources/public/css/screen.css
 ./hello/resources/public/favicon.ico
 ./hello/resources/sql/queries.sql
@@ -18,15 +20,13 @@
 ./hello/resources/templates/base.html
 ./hello/resources/templates/error.html
 ./hello/resources/templates/home.html
-./hello/src/hello/core.clj
-./hello/src/hello/db
-./hello/src/hello/db/core.clj
-./hello/src/hello/db/migrations.clj
-./hello/src/hello/handler.clj
-./hello/src/hello/layout.clj
-./hello/src/hello/middleware.clj
-./hello/src/hello/routes
-./hello/src/hello/routes/home.clj
-./hello/test/hello/test/db/core.clj
-./hello/test/hello/test/handler.clj
-
+./hello/src/clj/hello/config.clj
+./hello/src/clj/hello/core.clj
+./hello/src/clj/hello/db/core.clj
+./hello/src/clj/hello/handler.clj
+./hello/src/clj/hello/layout.clj
+./hello/src/clj/hello/middleware.clj
+./hello/src/clj/hello/routes/home.clj
+./hello/test/clj
+./hello/test/clj/hello/test/db/core.clj
+./hello/test/clj/hello/test/handler.clj