Fixed URL for installer and code formatting.

pull/7/head
Scott Frederick 12 years ago
parent 2a4454b524
commit 8711f8f57e

@ -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);
}

Loading…
Cancel
Save