Test application using Scala, Play and Mongo
Requires:
- Scala
- Play
- Mongo
- Intellij
Initial Setup
- Create Repo in GitHub
- Create new Play application - "play new ScalaPlayMongo"
- In ScalaPlayMongo dir - "git init" to initialise local git
- Add play files - "git add ."
- Commit local, "git commit -m 'init'"
- Set remote git repo, "git remote add origin [email protected]:username/ScalaPlayMongo.git"
- Pull remote, "git pull origin master"
- Push remote, "git push -u origin master"
Dev in Intellij
- Generate Intellij project module, "play idea"
- Open Intel
- Create new project from scratch
- Name "ScalaPlayMongo", .idea, uncheck "create module"
- In Project Structure, add Module
- import existing module "scalaplaymongo.iml"
- Add *.iml to gitignore, edit with "sudo open -t .gitignore"
- Work through http://localhost:9000/@documentation/ScalaTodoList - Handling the form submission
- TODO Debug on Intellij
TODO Dev add Mongo