-
You need a Bluemix account. If you don't have one, sign up.
-
Download and install the Cloud-foundry CLI tool if you haven't already.
-
Edit the
manifest.yml
file and change<application-name>
to something unique. The name you use determines the URL of your application. For example,<application-name>.mybluemix.net
.
applications:
- name: <application-name>
command: npm start
path: .
memory: 512M
- Connect to Bluemix with the command line tool.
cf api https://api.ng.bluemix.net
cf login
- Install the dependencies you application need:
npm install
- Start the application locally:
npm start
-
Point your browser to http://localhost:8080.
-
Optional: Push the application to Bluemix:
cf push
After completing the steps above, you are ready to test your application. Start a browser and enter the URL of your application.
<your application name>.mybluemix.net
-
The main source of troubleshooting and recovery information is the Bluemix log. To view the log, run the following command:
cf logs <application-name> --recent