-
Notifications
You must be signed in to change notification settings - Fork 0
Howtobuild
mattrjacobs edited this page Oct 22, 2010
·
2 revisions
Caveat: I'm still figuring this out too
- Go to location you checkout out code into. For the rest of this example, I'm assuming it''s ~/Projects/prdct, because that's that mine is.
-
git pull
should update all code that I've recently checked in. If that results, in an error, you need to edit ~/Projects/prdct/.git/config. See me about that - In ~/Projects/prdct, run
sbt
. It should do a bunch of crap, and then eventually return a prompt. SBT is Simple Build Tool, a way of building Scala projects. It's new to me, but I like it so far. - At that prompt, type
update
. This updates any system/Scala software. - You should eventually get another prompt. Type
jetty-run
, and a whole bunch of stuff should happen. - You can then open a web browser, go to http://localhost:8080, and see the webapp. Jetty is a web server that's running on your machine serving up the code you just built. Super-sweet.