diff options
-rw-r--r-- | activator.properties | 2 | ||||
-rw-r--r-- | tutorial/index.html | 16 |
2 files changed, 10 insertions, 8 deletions
diff --git a/activator.properties b/activator.properties index 82a02eb..77b51ce 100644 --- a/activator.properties +++ b/activator.properties @@ -1,4 +1,4 @@ name=slick-codegen-example title=Using Slicks default code generator -description=Using Slicks default code generator +description=This code example shows how to setup sbt to use Slick's preconfigued code-generator for working with an existing database schema. tags=scala,slick,database,relational diff --git a/tutorial/index.html b/tutorial/index.html index a77b4dc..645a65b 100644 --- a/tutorial/index.html +++ b/tutorial/index.html @@ -6,13 +6,15 @@ <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> + <p> + 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. + </p> + <p> + Use <code>sbt run</code> to run the demo. + </p> + <p> + More info about Slick on <a href="http://slick.typesafe.com/docs/">http://slick.typesafe.com/docs/</a> + </p> </div> </body> |