diff options
Diffstat (limited to 'tutorial/index.html')
-rw-r--r-- | tutorial/index.html | 19 |
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> |