SlideShare a Scribd company logo
1 of 17
Cloud Foundry Command Line
Windows Installation and Command Guide
Windows Installation
First of all, let’s get the administrative terminal open on your Windows machine.
Go to your Desktop’s Start Menu
Type into the Search Engine “cmd”
Hold down SHIFT and CTRL.
Now, press ENTER!
Say “Yes” to the terminal.
Windows Installation
https://github.com/cloudfoundry/cli/releases
Download, Save, Open File, Install
Environmental Variable
Start Menu. Search “System”.
Click “Edit Environmental Variables”
In User Variables Box, “New”
Variable: CF_HOME
Value: C:Program Files (x86)CloudFoundry
Bluemix Account [Free!]
https://console.ng.bluemix.net/
Set Up
cf login
Email>
Password>
Select an org….
Select your Space…
Target Information: cf t
Cloud Foundry Version: cf -v
What can I use?
Shows marketplace of services: cf marketplace
Show additional info about particular service: cf marketplace -s service
Create service: cf cs service serviceplan give-your-service-a-name
For example: cf cs sqldb sqldb_free BananaSauce
Check Your Services: cf services
Okay!
Lets keep going.
Custom Domains
Before going to development, you might want to customize the domain.
Go to your Bluemix Dashboard.
Upper right corner, click on
Under Organizations, click on
Choose “Domain”
Add a new domain!
Going Through the Motions
If you want a quick walkthrough, I will do it with you.
Deploy a Node application.
Go to Bluemix. Login.
On your Dashboard, select “Create App”
Choose “Web”
Choose SDK for Node.js
Motions
Name and Domain, please.
Press “Finish”. The app should start staging.
Motions II
We installed the command line in the earlier slide. Do this if you didn’t install yet!
Click the starter code button under “CF Command Line Interface”
SAVE FILE.
It is now a zip file.
Now we are making a folder to hold this zip file, so go to your Windows Desktop.
Right Click on the empty screen.
“New”
“Folder”
Name your folder something short, like I did.
Zip to File
Go to your Downloads, where the zip file is with your starter code.
Right Click on the .zip
Choose “Extract All”
Select Desktop, find that cool empty file we made on the Desktop.
Click on that file to select it.
The file should now hold all the starter code!
Path
Before going back to the command line, look at the path of where that file on your
Desktop is.
Look at the image above this text:
All you have to do is click ^ the clear part, anywhere on it, and it should highlight the path for you of where this
file is.
This ‘path’ should look somewhat similar to this:
C:UsersjoecashMy DocumentsGarlicBanana
or
C:whatisGarlicBanana
COPY this path.
Okay, back to the command line!
*My app’s name is just ‘garlic’. But I made a folder called GarlicBanana. I just wanted to clarify.
Path II
On your command line, you call the directory of that file where your starter code is.
So you will PASTE the path into your command line script.
Establish path: cd PASTE-PATH-HERE
Look at the directory: dir
Now, we will deploy the application.
Deploy
Now that you have everything set up, let’s deploy.
There are fancier commands, but if you do this, it should show you the capacity of the service:
In terminal: cf push
Go To Application
Your application should now be running.
Go back to your Bluemix, and click on ‘Route’
Copy and Paste it to your browser and go!
Useful Information
Bluemix Docs are updated regularly and contain great information that can be used
within your programming. This is documentation for this SDK for Node.js apps.
https://www.ng.bluemix.net/docs/#starters/nodejs/index.html#nodejs
You can customize the code given on Bluemix Docs based on which app you are working on.
Hope you enjoyed this tutorial, let me know if you have any questions! -Julia

More Related Content

What's hot

10x Command Line Fu
10x Command Line Fu10x Command Line Fu
10x Command Line FuAnthony Bui
 
Additional action script 3.0
Additional action script 3.0Additional action script 3.0
Additional action script 3.0Brian Kelly
 
Write book in markdown
Write book in markdownWrite book in markdown
Write book in markdownLarry Cai
 
Debian source list generator
Debian source list generatorDebian source list generator
Debian source list generatorJessalynCo
 
How to install word press on local server
How to install word press on local serverHow to install word press on local server
How to install word press on local serverHimanshi Garg
 
A Docker-based Development Environment Even I Can Understand
A Docker-based Development Environment Even I Can UnderstandA Docker-based Development Environment Even I Can Understand
A Docker-based Development Environment Even I Can UnderstandJeremy Gimbel
 
Apache FTP Server Integration
Apache FTP Server IntegrationApache FTP Server Integration
Apache FTP Server IntegrationWO Community
 
virtual hosting and configuration
virtual hosting and configurationvirtual hosting and configuration
virtual hosting and configurationHAMZA AHMED
 
PHP Hypertext Preprocessor
PHP Hypertext PreprocessorPHP Hypertext Preprocessor
PHP Hypertext Preprocessoradeel990
 
Deploy and Publish Web Service
Deploy and Publish Web ServiceDeploy and Publish Web Service
Deploy and Publish Web Servicepradeepfdo
 
Introduction tomongodb
Introduction tomongodbIntroduction tomongodb
Introduction tomongodbLee Theobald
 
Dspace for windows
Dspace for windowsDspace for windows
Dspace for windowsRavi Bankar
 

What's hot (20)

File Upload
File UploadFile Upload
File Upload
 
File Uploading in PHP
File Uploading in PHPFile Uploading in PHP
File Uploading in PHP
 
10x Command Line Fu
10x Command Line Fu10x Command Line Fu
10x Command Line Fu
 
Drupal from scratch
Drupal from scratchDrupal from scratch
Drupal from scratch
 
Additional action script 3.0
Additional action script 3.0Additional action script 3.0
Additional action script 3.0
 
Write book in markdown
Write book in markdownWrite book in markdown
Write book in markdown
 
Php File Upload
Php File UploadPhp File Upload
Php File Upload
 
Debian source list generator
Debian source list generatorDebian source list generator
Debian source list generator
 
How to install word press on local server
How to install word press on local serverHow to install word press on local server
How to install word press on local server
 
A Docker-based Development Environment Even I Can Understand
A Docker-based Development Environment Even I Can UnderstandA Docker-based Development Environment Even I Can Understand
A Docker-based Development Environment Even I Can Understand
 
Apache FTP Server Integration
Apache FTP Server IntegrationApache FTP Server Integration
Apache FTP Server Integration
 
virtual hosting and configuration
virtual hosting and configurationvirtual hosting and configuration
virtual hosting and configuration
 
PHP Hypertext Preprocessor
PHP Hypertext PreprocessorPHP Hypertext Preprocessor
PHP Hypertext Preprocessor
 
Deploy and Publish Web Service
Deploy and Publish Web ServiceDeploy and Publish Web Service
Deploy and Publish Web Service
 
Plesk CLI Wrapper
Plesk CLI WrapperPlesk CLI Wrapper
Plesk CLI Wrapper
 
Ip lab
Ip labIp lab
Ip lab
 
Introduction tomongodb
Introduction tomongodbIntroduction tomongodb
Introduction tomongodb
 
Dspace for windows
Dspace for windowsDspace for windows
Dspace for windows
 
Mule esb db_1
Mule esb db_1Mule esb db_1
Mule esb db_1
 
Mule esb db_2
Mule esb db_2Mule esb db_2
Mule esb db_2
 

Viewers also liked

Cloud Foundry Technical Overview
Cloud Foundry Technical OverviewCloud Foundry Technical Overview
Cloud Foundry Technical Overviewcornelia davis
 
Bluemix IoT Cloud Foundry Meetup slides
Bluemix IoT Cloud Foundry Meetup slidesBluemix IoT Cloud Foundry Meetup slides
Bluemix IoT Cloud Foundry Meetup slidesValerie Lampkin
 
Devoxx 2014 presentation
Devoxx 2014 presentationDevoxx 2014 presentation
Devoxx 2014 presentationEric Cattoir
 
Cloud Foundry Bootcamp
Cloud Foundry BootcampCloud Foundry Bootcamp
Cloud Foundry BootcampAndy Piper
 
Cloud Foundry Open Tour Beijing: Becoming a Node.js Ninja on
 Cloud Foundry
Cloud Foundry Open Tour Beijing: Becoming a Node.js Ninja on
 Cloud FoundryCloud Foundry Open Tour Beijing: Becoming a Node.js Ninja on
 Cloud Foundry
Cloud Foundry Open Tour Beijing: Becoming a Node.js Ninja on
 Cloud FoundryPatrick Chanezon
 
Extension de Service Cloud Foundry
Extension de Service Cloud FoundryExtension de Service Cloud Foundry
Extension de Service Cloud FoundryVMware Tanzu
 
Cloud Foundry for Spring Developers
Cloud Foundry for Spring DevelopersCloud Foundry for Spring Developers
Cloud Foundry for Spring DevelopersGunnar Hillert
 
Autoscaling Distributed System with BOSH (Cloud Foundry Summit 2014)
Autoscaling Distributed System with BOSH (Cloud Foundry Summit 2014)Autoscaling Distributed System with BOSH (Cloud Foundry Summit 2014)
Autoscaling Distributed System with BOSH (Cloud Foundry Summit 2014)VMware Tanzu
 
Badanie możliwości crowdsourcingowej oceny jakości zdjęć
Badanie możliwości crowdsourcingowej oceny jakości zdjęćBadanie możliwości crowdsourcingowej oceny jakości zdjęć
Badanie możliwości crowdsourcingowej oceny jakości zdjęćMikolaj Leszczuk
 
Cloud Foundry Bootcamp
Cloud Foundry BootcampCloud Foundry Bootcamp
Cloud Foundry BootcampJoshua Long
 
Pay it forward ideas
Pay it forward ideasPay it forward ideas
Pay it forward ideasTrikle Trade
 
Build Scalable Internet of Things Apps using Cloud Foundry, Bluemix & Cloudant
Build Scalable Internet of Things Apps using Cloud Foundry, Bluemix & CloudantBuild Scalable Internet of Things Apps using Cloud Foundry, Bluemix & Cloudant
Build Scalable Internet of Things Apps using Cloud Foundry, Bluemix & CloudantAnimesh Singh
 
Introduction to Cloud Foundry #JJUG
Introduction to Cloud Foundry #JJUGIntroduction to Cloud Foundry #JJUG
Introduction to Cloud Foundry #JJUGToshiaki Maki
 
Cloud foundry Docker Openstack - Leading Open Source Triumvirate
Cloud foundry Docker Openstack - Leading Open Source TriumvirateCloud foundry Docker Openstack - Leading Open Source Triumvirate
Cloud foundry Docker Openstack - Leading Open Source TriumvirateAnimesh Singh
 
A Perfect Cloud Foundry Engineer
A Perfect Cloud Foundry EngineerA Perfect Cloud Foundry Engineer
A Perfect Cloud Foundry EngineerAltoros
 

Viewers also liked (20)

Cloud Foundry Technical Overview
Cloud Foundry Technical OverviewCloud Foundry Technical Overview
Cloud Foundry Technical Overview
 
Bluemix IoT Cloud Foundry Meetup slides
Bluemix IoT Cloud Foundry Meetup slidesBluemix IoT Cloud Foundry Meetup slides
Bluemix IoT Cloud Foundry Meetup slides
 
Devoxx 2014 presentation
Devoxx 2014 presentationDevoxx 2014 presentation
Devoxx 2014 presentation
 
Cloud Foundry Bootcamp
Cloud Foundry BootcampCloud Foundry Bootcamp
Cloud Foundry Bootcamp
 
Cloud foundry
Cloud foundryCloud foundry
Cloud foundry
 
Cloud Foundry Open Tour Beijing: Becoming a Node.js Ninja on
 Cloud Foundry
Cloud Foundry Open Tour Beijing: Becoming a Node.js Ninja on
 Cloud FoundryCloud Foundry Open Tour Beijing: Becoming a Node.js Ninja on
 Cloud Foundry
Cloud Foundry Open Tour Beijing: Becoming a Node.js Ninja on
 Cloud Foundry
 
Cloud Foundry 101
Cloud Foundry 101Cloud Foundry 101
Cloud Foundry 101
 
What is BOSH? An over-overview
What is BOSH? An over-overviewWhat is BOSH? An over-overview
What is BOSH? An over-overview
 
Extension de Service Cloud Foundry
Extension de Service Cloud FoundryExtension de Service Cloud Foundry
Extension de Service Cloud Foundry
 
Cloud Foundry for Spring Developers
Cloud Foundry for Spring DevelopersCloud Foundry for Spring Developers
Cloud Foundry for Spring Developers
 
Autoscaling Distributed System with BOSH (Cloud Foundry Summit 2014)
Autoscaling Distributed System with BOSH (Cloud Foundry Summit 2014)Autoscaling Distributed System with BOSH (Cloud Foundry Summit 2014)
Autoscaling Distributed System with BOSH (Cloud Foundry Summit 2014)
 
Badanie możliwości crowdsourcingowej oceny jakości zdjęć
Badanie możliwości crowdsourcingowej oceny jakości zdjęćBadanie możliwości crowdsourcingowej oceny jakości zdjęć
Badanie możliwości crowdsourcingowej oceny jakości zdjęć
 
Kindness quotes
Kindness quotesKindness quotes
Kindness quotes
 
Cloud Foundry Bootcamp
Cloud Foundry BootcampCloud Foundry Bootcamp
Cloud Foundry Bootcamp
 
Pay it forward ideas
Pay it forward ideasPay it forward ideas
Pay it forward ideas
 
Build Scalable Internet of Things Apps using Cloud Foundry, Bluemix & Cloudant
Build Scalable Internet of Things Apps using Cloud Foundry, Bluemix & CloudantBuild Scalable Internet of Things Apps using Cloud Foundry, Bluemix & Cloudant
Build Scalable Internet of Things Apps using Cloud Foundry, Bluemix & Cloudant
 
GURU OF LUXURY | SPRING 2017 NEWSLETTER | RENOVATION PROJECT HOTEL RETLAW
GURU OF LUXURY | SPRING  2017 NEWSLETTER | RENOVATION PROJECT HOTEL RETLAWGURU OF LUXURY | SPRING  2017 NEWSLETTER | RENOVATION PROJECT HOTEL RETLAW
GURU OF LUXURY | SPRING 2017 NEWSLETTER | RENOVATION PROJECT HOTEL RETLAW
 
Introduction to Cloud Foundry #JJUG
Introduction to Cloud Foundry #JJUGIntroduction to Cloud Foundry #JJUG
Introduction to Cloud Foundry #JJUG
 
Cloud foundry Docker Openstack - Leading Open Source Triumvirate
Cloud foundry Docker Openstack - Leading Open Source TriumvirateCloud foundry Docker Openstack - Leading Open Source Triumvirate
Cloud foundry Docker Openstack - Leading Open Source Triumvirate
 
A Perfect Cloud Foundry Engineer
A Perfect Cloud Foundry EngineerA Perfect Cloud Foundry Engineer
A Perfect Cloud Foundry Engineer
 

Similar to Cloud Foundry Command Line

11 unix osx_commands
11 unix osx_commands11 unix osx_commands
11 unix osx_commandsMacinfosoft
 
Command line for the beginner - Using the command line in developing for the...
Command line for the beginner -  Using the command line in developing for the...Command line for the beginner -  Using the command line in developing for the...
Command line for the beginner - Using the command line in developing for the...Jim Birch
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Boxguest34a3a419
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows BoxJayanta Dash
 
Linux Webserver Installation Command and GUI.ppt
Linux Webserver Installation Command and GUI.pptLinux Webserver Installation Command and GUI.ppt
Linux Webserver Installation Command and GUI.pptwebhostingguy
 
Linux Webserver Installation Command and GUI.ppt
Linux Webserver Installation Command and GUI.pptLinux Webserver Installation Command and GUI.ppt
Linux Webserver Installation Command and GUI.pptwebhostingguy
 
Installing Hortonworks Hadoop for Windows
Installing Hortonworks Hadoop for WindowsInstalling Hortonworks Hadoop for Windows
Installing Hortonworks Hadoop for WindowsJonathan Bloom
 
Autoconf&Automake
Autoconf&AutomakeAutoconf&Automake
Autoconf&Automakeniurui
 
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docxPart 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docxkarlhennesey
 
Introduction to Git / Github
Introduction to Git / GithubIntroduction to Git / Github
Introduction to Git / GithubPaige Bailey
 
Wamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and ConfigurationWamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and ConfigurationChetan Soni
 
Installation of Drupal on Windows XP
Installation of Drupal on Windows XPInstallation of Drupal on Windows XP
Installation of Drupal on Windows XPRupesh Kumar
 
Installation of Joomla on Windows XP
Installation of Joomla on Windows XPInstallation of Joomla on Windows XP
Installation of Joomla on Windows XPRupesh Kumar
 
Adding System Call to Kernel
Adding System Call to KernelAdding System Call to Kernel
Adding System Call to KernelMuhammad Bilal
 

Similar to Cloud Foundry Command Line (20)

Docker Starter Pack
Docker Starter PackDocker Starter Pack
Docker Starter Pack
 
11 unix osx_commands
11 unix osx_commands11 unix osx_commands
11 unix osx_commands
 
Command line for the beginner - Using the command line in developing for the...
Command line for the beginner -  Using the command line in developing for the...Command line for the beginner -  Using the command line in developing for the...
Command line for the beginner - Using the command line in developing for the...
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Box
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Box
 
Linux Webserver Installation Command and GUI.ppt
Linux Webserver Installation Command and GUI.pptLinux Webserver Installation Command and GUI.ppt
Linux Webserver Installation Command and GUI.ppt
 
Linux Webserver Installation Command and GUI.ppt
Linux Webserver Installation Command and GUI.pptLinux Webserver Installation Command and GUI.ppt
Linux Webserver Installation Command and GUI.ppt
 
Visual c++ demo
Visual c++ demoVisual c++ demo
Visual c++ demo
 
Installing Hortonworks Hadoop for Windows
Installing Hortonworks Hadoop for WindowsInstalling Hortonworks Hadoop for Windows
Installing Hortonworks Hadoop for Windows
 
Autoconf&Automake
Autoconf&AutomakeAutoconf&Automake
Autoconf&Automake
 
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docxPart 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
 
Linux
LinuxLinux
Linux
 
Introduction to Git / Github
Introduction to Git / GithubIntroduction to Git / Github
Introduction to Git / Github
 
Wamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and ConfigurationWamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and Configuration
 
Installation of Drupal on Windows XP
Installation of Drupal on Windows XPInstallation of Drupal on Windows XP
Installation of Drupal on Windows XP
 
Installation of Joomla on Windows XP
Installation of Joomla on Windows XPInstallation of Joomla on Windows XP
Installation of Joomla on Windows XP
 
Windows xp(1)
Windows xp(1)Windows xp(1)
Windows xp(1)
 
Adding System Call to Kernel
Adding System Call to KernelAdding System Call to Kernel
Adding System Call to Kernel
 
Installing apache and php
Installing apache and phpInstalling apache and php
Installing apache and php
 
DOS commands
DOS commandsDOS commands
DOS commands
 

Recently uploaded

Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringWSO2
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityVictorSzoltysek
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightSafe Software
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....rightmanforbloodline
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard37
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data SciencePaolo Missier
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceIES VE
 

Recently uploaded (20)

Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 

Cloud Foundry Command Line

  • 1. Cloud Foundry Command Line Windows Installation and Command Guide
  • 2. Windows Installation First of all, let’s get the administrative terminal open on your Windows machine. Go to your Desktop’s Start Menu Type into the Search Engine “cmd” Hold down SHIFT and CTRL. Now, press ENTER! Say “Yes” to the terminal.
  • 4. Environmental Variable Start Menu. Search “System”. Click “Edit Environmental Variables” In User Variables Box, “New” Variable: CF_HOME Value: C:Program Files (x86)CloudFoundry
  • 6. Set Up cf login Email> Password> Select an org…. Select your Space… Target Information: cf t Cloud Foundry Version: cf -v
  • 7. What can I use? Shows marketplace of services: cf marketplace Show additional info about particular service: cf marketplace -s service Create service: cf cs service serviceplan give-your-service-a-name For example: cf cs sqldb sqldb_free BananaSauce Check Your Services: cf services Okay! Lets keep going.
  • 8. Custom Domains Before going to development, you might want to customize the domain. Go to your Bluemix Dashboard. Upper right corner, click on Under Organizations, click on Choose “Domain” Add a new domain!
  • 9. Going Through the Motions If you want a quick walkthrough, I will do it with you. Deploy a Node application. Go to Bluemix. Login. On your Dashboard, select “Create App” Choose “Web” Choose SDK for Node.js
  • 10. Motions Name and Domain, please. Press “Finish”. The app should start staging.
  • 11. Motions II We installed the command line in the earlier slide. Do this if you didn’t install yet! Click the starter code button under “CF Command Line Interface” SAVE FILE. It is now a zip file. Now we are making a folder to hold this zip file, so go to your Windows Desktop. Right Click on the empty screen. “New” “Folder” Name your folder something short, like I did.
  • 12. Zip to File Go to your Downloads, where the zip file is with your starter code. Right Click on the .zip Choose “Extract All” Select Desktop, find that cool empty file we made on the Desktop. Click on that file to select it. The file should now hold all the starter code!
  • 13. Path Before going back to the command line, look at the path of where that file on your Desktop is. Look at the image above this text: All you have to do is click ^ the clear part, anywhere on it, and it should highlight the path for you of where this file is. This ‘path’ should look somewhat similar to this: C:UsersjoecashMy DocumentsGarlicBanana or C:whatisGarlicBanana COPY this path. Okay, back to the command line! *My app’s name is just ‘garlic’. But I made a folder called GarlicBanana. I just wanted to clarify.
  • 14. Path II On your command line, you call the directory of that file where your starter code is. So you will PASTE the path into your command line script. Establish path: cd PASTE-PATH-HERE Look at the directory: dir Now, we will deploy the application.
  • 15. Deploy Now that you have everything set up, let’s deploy. There are fancier commands, but if you do this, it should show you the capacity of the service: In terminal: cf push
  • 16. Go To Application Your application should now be running. Go back to your Bluemix, and click on ‘Route’ Copy and Paste it to your browser and go!
  • 17. Useful Information Bluemix Docs are updated regularly and contain great information that can be used within your programming. This is documentation for this SDK for Node.js apps. https://www.ng.bluemix.net/docs/#starters/nodejs/index.html#nodejs You can customize the code given on Bluemix Docs based on which app you are working on. Hope you enjoyed this tutorial, let me know if you have any questions! -Julia