创建过程:
Shaman[[[[[[[[[[[[[[[[[@SHAMAN-PC](/user/SHAMAN-PC)](/user/SHAMAN-PC)](/user/SHAMAN-PC)](/user/SHAMAN-PC)](/user/SHAMAN-PC)](/user/SHAMAN-PC)](/user/SHAMAN-PC)](/user/SHAMAN-PC)](/user/SHAMAN-PC)](/user/SHAMAN-PC)](/user/SHAMAN-PC)](/user/SHAMAN-PC)](/user/SHAMAN-PC)](/user/SHAMAN-PC)](/user/SHAMAN-PC)](/user/SHAMAN-PC)](/user/SHAMAN-PC) /e/cloudfoundry/testapp
$ vmc push
Would you like to deploy from the current directory? [Yn]: y
Application Name: testapp
Detected a Node.js Application, is this correct? [Yn]: y
Application Deployed URL [testapp.cloudfoundry.com]: shaman.cloudfoundry.com
Memory reservation (128M, 256M, 512M, 1G, 2G) [64M]: 1G
How many instances? 1:
Create services to bind to 'testapp’? [yN]: y
1: mongodb
2: mysql
3: postgresql
4: rabbitmq
5: redis
What kind of service?: 2
Specify the name of the service [mysql-a8398]:
Create another? [yN]: n
Would you like to save this configuration? [yN]: y
Manifest written to manifest.yml.
Creating Application: OK
Creating Service [mysql-a8398]: OK
Binding Service [mysql-a8398]: OK
Uploading Application:
Checking for available resources: OK
Processing resources: OK
Packing application: OK
Uploading (11K): OK
Push Status: OK
Staging Application 'testapp’: OK
Starting Application 'testapp’: …
Error: Application [testapp] failed to start, logs information below.
====> /logs/stdout.log <====
Express server listening on port 3000 in development mode
Delete the application? [Yn]: n
最后在 start 出错了 , 然后我重新启动的时候提示 already started , 查看了app状态 如下:
什么原因 , 初学nodejs 和使用cloudfoundry ,请教什么原因