Skip to content

Commit

Permalink
Make use of stackato.yml in python and node sample apps
Browse files Browse the repository at this point in the history
  • Loading branch information
Sridhar Ratnakumar committed Aug 10, 2011
1 parent 584d515 commit 7d61a27
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 26 deletions.
27 changes: 1 addition & 26 deletions README.md
Expand Up @@ -18,32 +18,7 @@ database for 3 hours.

### Using Stackato platform

Push the app to the Stackato server:

$ stackato push converter
Would you like to deploy from the current directory ? [Yn]:
Application Deployed URL: 'converter.stackato.local'?
Detected a Python WSGI Application, is this correct ? [Yn]:
Memory Reservation ? (64M, 128M, 256M, 512M, 1G, or 2G):
Creating Application: OK
Would you like to bind any services to 'converter' ? [yN]: y
Would you like to use an existing provisioned service ? [yN]: n
The following system services are available
1. mongodb
2. mysql
3. redis
Please select one you wish to provision: 3
Specify the name of the service [redis-xxxx]:
Creating Service: OK
Binding Service: OK
Uploading Application:
Checking for available resources: OK
Processing resources: 'OK
Packing application: OK
Uploading (0K): 51% OK
Push Status: OK
Staging Application: OK
Starting Application: OK
$ stackato push -n

Then open http://converter.stackato.local in a browser.

Expand Down
10 changes: 10 additions & 0 deletions stackato.yml
@@ -0,0 +1,10 @@
name: converter

framework:
type: python

mem: 64M
instances: 2

services:
redis: redis-currency

0 comments on commit 7d61a27

Please sign in to comment.