Fixed URL for installer and code formatting.

This commit is contained in:
Scott Frederick 2013-07-12 11:26:02 -05:00
parent 2a4454b524
commit 8711f8f57e
1 changed files with 7 additions and 7 deletions

View File

@ -33,7 +33,7 @@ You need to build from source for now, but when it's done instructions will look
2) Get Spring
$ curl -s spring.cfapps.io | bash
$ curl -s spring.cfapps.io/installer | bash
or use the Windows installer
@ -72,13 +72,13 @@ calls `SpringApplication` and add `@EnableAutoConfiguration`:
@EnableAutoConfiguration
public class SampleController {
@RequestMapping("/")
@ResponseBody
String home() {
return "Hello World!"
}
@RequestMapping("/")
@ResponseBody
String home() {
return "Hello World!"
}
public static void main(String[] args) throws Exception {
public static void main(String[] args) throws Exception {
SpringApplication.run(SampleController.class, args);
}