eltimn/lift-mongo.g8 — pull request #8 by rudolfb (2013-05-30 16:36:00+00:00)
Title: Bootstrap 2.3.2, gitignore, update build settings

Hi Tim,

Thanks a ton for your super demo. It has helped me a lot. Still an absolute rookie though, but maybe I can contribute a little back to make the demo a little better.

Here a pull request that does the following:

a) updated the .gitignore
b) updated the demo to bootstrap 2.3.2 and jquery 1.9.1
c) the mongoauth liftmodule was referenced according to the old dependency format
d) updated numerous modules that are loaded in the Build.scala to newer versions
e) updated the lift version from RC4 to RC6
f) updated the plugins.sbt to include a newer sbt-buildinfo, and added the sbteclipse plugin.

Some notes regarding the modifications:

a)
Hope this is ok. Left out the props files explicitly as these might differ per machine and I did not want our SMTP server settings published on github :-)

b)
This was a bit of a problem, but for me it was a lesson how something like this is done. See the following:

https://github.com/rudolfb/test_bootstrap_2.3.2_compile_error
https://github.com/softprops/less-sbt/issues/30

The problem referenced in the links will be resolved by less-sbt in due course, but currently an update to bootstrap 2.3.2 requires a small hack if one wants to use less files, and the small hack is in my repo ie. in the pull.

c)
For any 2.5 version the dependency is:
libraryDependencies += "net.liftmodules" %% "mongoauth_2.5" % "0.4"

Reason for change: https://groups.google.com/d/msg/liftweb/aIcGqqK9Oqo/U489mmmPEmwJ

Other dependencies were referenced according to the new format, just this one was not.

d)
Again as a lesson for me how one goes about doing this.

e)
Updating from 2-5-RC4 to 2-5-RC6 showed up the problem with the mongoauth module.

I updated my repository with the above modifications, used g8 to build a new lift-mongo-app from my site

g8 rudolfb/lift-mongo

It downloaded all the dependencies, compiled and the container started successfully and I was able to log on successfully as well, so the modifications are probably ok. Up to you what you chosse to use or not.

By the way: I just updated the Lift wiki for the first time:
https://www.assembla.com/spaces/liftweb/wiki/Breadcrumb

The second alternative at building a generic breadcrumb. If you want I could add this to the base-wrap.html and add a new snippet.

Again, thanks a ton for your demo. Without it I would still be lurking and have little to no idea what was going on in Lift.

Regards

Rudolf