From 249c70f9c44a81d5df54ff6e937599c27129930e Mon Sep 17 00:00:00 2001 From: Pepper Date: Fri, 27 Jan 2017 16:04:06 -0500 Subject: ok moving --- src/config.clj | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) mode change 100644 => 100755 src/config.clj (limited to 'src/config.clj') diff --git a/src/config.clj b/src/config.clj old mode 100644 new mode 100755 index b6abfb5..1481855 --- a/src/config.clj +++ b/src/config.clj @@ -7,12 +7,15 @@ (def *server-url* (if (= *server-user* "dumpfmprod") - "http://dump.fm" - "http://localhost:8080")) + ;"http://dump.fm" + "http://asdf.us:8080")) (def *cookie-domain* (if (= *server-user* "dumpfmprod") - ".dump.fm" + ;".dump.fm" ; is this ok or should I comment this too? this too + ; not clojure specialist, but all this stuff doesn't look good, app should be able to run from any location and still work as usual, domains shouldn't + ; be hardcoded at all. in html paths can be relative, which removes need to figure out which domain you running app on. I hear you, + ; let's just get it working though, right? sure "")) (def db-server @@ -22,7 +25,8 @@ (def redis-server (if (= *server-user* "dumpfmprod") - {:host "192.168.156.111" :port 6379 :db 0 } + ;{:host "192.168.156.111" :port 6379 :db 0 } ;these ip addresses need to change right? yes should I try deleting this? or statically + ;setting it to my public ip? why public ip, it should be just 127.0.0.1 or something like redis.dump.fm if you plan to have more than one server. {:host "127.0.0.1" :port 6379 :db 0 })) (def *root-directory* (System/getProperty "user.dir")) -- cgit v1.2.3-70-g09d2