Fork me on GitHub
#luminus
<
2017-02-21
>
jumar07:02:55

Question regarding the profiles.clj: does it make sense to have it in .gitignore by default? Isn't this config generally useful for all developers?

jumar07:02:03

@janvanryswyck for refreshing DB queries I did something like this in REPL:

(require ‘[guestbook.db.core] :reload-all)

janvanryswyck07:02:29

Thanks! I'll give that a try later on.

frank16:02:24

@jumar if you're finding the config useful for all developers, then it should probably live in your project.clj

mruzekw19:02:47

I find the info in profiles should be kept to each dev. No harm in committing an example profiles file though, for them to fill out

jumar21:02:13

@frank well, the thing is that luminus template generates the profiles.clj with db url (at least for +h2) - that's the default setting that can be useful for everyone. Maybe it should be generated in project.clj - just wondering...