aboutsummaryrefslogtreecommitdiff
path: root/tutorial
diff options
context:
space:
mode:
authorChristopher Vogt <christopher.vogt@epfl.ch>2014-01-30 16:49:57 +0100
committerChristopher Vogt <christopher.vogt@epfl.ch>2014-01-30 16:49:57 +0100
commit70d165e918037d7d68a90fa1accc63a9ee5bd7e9 (patch)
treee9a4f731e1ed25f65a92996ce74f70d42619cd62 /tutorial
parent6daeac59e8db26c603976be4f2bdae00173baa3a (diff)
downloadslick-codegen-example-70d165e918037d7d68a90fa1accc63a9ee5bd7e9.tar.gz
slick-codegen-example-70d165e918037d7d68a90fa1accc63a9ee5bd7e9.tar.bz2
slick-codegen-example-70d165e918037d7d68a90fa1accc63a9ee5bd7e9.zip
Turn into activator project
Diffstat (limited to 'tutorial')
-rw-r--r--tutorial/index.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/tutorial/index.html b/tutorial/index.html
new file mode 100644
index 0000000..a77b4dc
--- /dev/null
+++ b/tutorial/index.html
@@ -0,0 +1,19 @@
+<html>
+<head>
+ <title>Using Slicks default code generator</title>
+</head>
+<body>
+
+<div>
+ <h2>Using Slicks default code generator</h2>
+ <pre>
+This code example shows how to setup sbt to use Slick's preconfigued code-generator for working with an existing database schema. <code>project/Build.scala</code> enables automatically as well as manually triggered code-generation. <code>src/main/scala/Example.scala</code> uses the generated code. The code is generated into file <code>target/scala-2.10/src_managed/slick/demo/Tables.scala</code>, which can be changed in the sbt script. It is usally wise to keep the generated Slick code under version control.
+
+Use <code>sbt run</code> to run the demo.
+
+More info about Slick on <a href="http://slick.typesafe.com/docs/">http://slick.typesafe.com/docs/</a>
+ </pre>
+</div>
+
+</body>
+</html>