Skip to content

Commit 660be71

Browse files
committed
Added functionality to use the deploy to Bluemix button.
1 parent 6c2f21f commit 660be71

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ Simply upload a line-separated file of text (e.g. tweets), and it will add each
1111
This tutorial is intended to deploy a pre-compiled warfile through the command line. If you would like to
1212
use Eclipse and modify the source code, see [development](#development).
1313

14+
Give it a try! Click the button below to fork into IBM DevOps Services and deploy your own copy of this application on Bluemix.
15+
16+
[![Deploy to Bluemix](images/deploy-button.png)](https://hub.jazz.net/code/cfui/bluemix/deploy.html?Repository=https://github.com/ibmjstart/bluemix-java-postgresql-uploader.git)
17+
18+
Note it will take a minute or so to start up.
19+
1420
## Prerequisites ##
1521

1622
Before we begin, we first need to install the [**cf**](https://github.com/cloudfoundry/cli/releases) command line tool that will be used to upload and manage your application. If you've previously installed an older version of the cf tool, make sure you are now using v6 of cf by passing it the -v flag:

images/deploy-button.png

1.76 KB
Loading

manifest.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
---
2+
declared-services:
3+
mySQLService:
4+
type: elephantsql
5+
plan: turtle
6+
27
applications:
38
- name: JavaUpload
49
memory: 256M #The maximum memory to allocate to each application instance
510
instances: 1 #The number of instances of the application to start
6-
host: JavaUpload-${random-word} #Hostname for app routing. Unique to domain
711
path: ElephantSQL-Uploader.war
812
services:
9-
- java-pg #Identifier for ElephantSQL service, must be provisioned before push
13+
- mySQLService #Identifier for ElephantSQL service, must be provisioned before push
1014

0 commit comments

Comments
 (0)