Tweaking Intelij setup instructions

This commit is contained in:
Simon Redfern 2017-08-08 20:24:50 +10:00
parent cf8c7f844b
commit 032a0d149b

View File

@ -50,9 +50,9 @@ To compile and run jetty, install Maven 3 and execute:
* In IntelliJ IDEA do File -> New -> Project from existing sources
* (Alternatively you can do File -> New -> Project from VCS and checkout from github)
* Alternatively you can do File -> New -> Project from VCS and checkout the project directly from github.
* When / if prompted, choose Java 1.8 and Scala 2.11 otherwise keep the defaults. Use the Maven options. Do not change the project name etc.
* When / if prompted for SDK, choose Java 1.8 (and Scala 2.11) otherwise keep the defaults. Use the Maven options. Do not change the project name etc.
* Navigate to test/scala/code/RunWebApp. You may see a Setup Scala SDK link. Click this and check Scala 2.11.8 or so.
@ -60,7 +60,9 @@ To compile and run jetty, install Maven 3 and execute:
* In src/main/resources/props create a \<yourloginname\>.props (or default.props) for development. Set connector=mapped
* Now **Rebuild** the project so everything is compiled.
* Now **Rebuild** the project so everything is compiled. At this point you may need to select the SDK, see above.
* Once you have rebuilt the project wihtout compile errors, you should be able to RunWebApp in src/test/scala
* Run RunWebApp by right clicking on it or selecting Run. The built in jetty server should start on localhost:8080