Setup the project using by giving the following command in the terminal
$ g8 typesafehub/play-scala
# cd into the newly created directory and run with 'sbt run'
In the sbt console
$ idea
Once this is done, the project can be opened from Idea.
Setting up database for the project
- Add the database driver in project/Build.scala (throws driver not found error on being skipped)
- In conf/application.conf specify the database configuration(more on database in play)
- In conf/evolutions/default create a file 1.sql which has the database schema(more on evolutions)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.