Skip to content
Browse files

Make use of stackato.yml in python and node sample apps

  • Loading branch information...
1 parent 584d515 commit 7d61a273f2ff8fb8f5ac8baa1dea8151d648330c Sridhar Ratnakumar committed
Showing with 11 additions and 26 deletions.
  1. +1 −26 README.md
  2. +10 −0 stackato.yml
View
27 README.md
@@ -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.
View
10 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.
Something went wrong with that request. Please try again.