Permalink
Browse files

Cleaned up readme

  • Loading branch information...
bijukunjummen committed May 2, 2016
1 parent aea2387 commit 31032287c6896d14ce2119e818bc314c08741f6c
@@ -11,4 +11,27 @@ Spring Boot exposes the VCAP_SERVICES properties which is in the form of a JSON
the connectivity to the service
== Use Spring Cloud Connector
http://cloud.spring.io/spring-cloud-connectors/[Spring Cloud Connector] provides the most advanced configuration for enabling connectivity to an external service.
http://cloud.spring.io/spring-cloud-connectors/[Spring Cloud Connector] provides the most advanced configuration for enabling connectivity to an external service.
Any of the versions of the application can be brought up by the following steps:
=== Installing and deploying a MYSql on Mac OSX
[source]
----
brew install mysql
mysql.server start
mysql -u root
CREATE USER 'springpong'@'localhost' IDENTIFIED BY 'springpong';
CREATE DATABASE pong_matcher_spring_development;
GRANT ALL ON pong_matcher_spring_development.* TO 'springpong'@'localhost';
----
=== Start the application
[source]
----
mvn spring-boot:run
----
=== Check if the application has started up
Try the endpoint available here - http://localhost:8080/courses
@@ -10,7 +10,7 @@
@Configuration
@Profile("cloud")
class CloudFoundryDatabaseConfig {
public class CloudFoundryDatabaseConfig {
@Bean
public Cloud cloud() {

0 comments on commit 3103228

Please sign in to comment.