DevOps

The key to get your app running on the cloud. FAST.

Share this post:

This blog post is an update to a post written by Priya Aswani on the DevOps Services blog in May 2015.


IBM Bluemix Continuous Delivery, which is one of the DevOps services on Bluemix, allows for integrated agile planning, coding, building, deploying, and collaborating with your team. You can get your app running on the Bluemix cloud within minutes. Continuous Delivery provides a very strong infrastructure to support your coding needs. It’s a great way to increase your workplace productivity and reliability. Here are a few tips, tricks and hidden gems that can help you get coding at lightning speed. Discovering these valuable nuggets can enable you to get work done faster and make coding and life easier. It’s all about cutting out the nonsense and getting you up and running in the shortest amount of time. The time saved will be appreciated by you, your boss, your team and your clients.

Do you ever wish that the code editing tool you use could complete the code for you? A world where code writes itself. The Eclipse Orion Web IDE content assist feature gets us one step closer to that world. There are some really neat updates made to the online code editor that are bound to shave a few minutes off your work day and save you from getting a few gray hairs. One smart feature in the Web IDE is content assist, which helps you write code faster and more efficiently.

Create a manifest.yml file in just one shortcut key

Hot off the press! A quick shortcut to create a new manifest.yml file is to first create the file, then press CTRL+Space in the new file that you just created. Try it!

One of the main files used when deploying an app on Bluemix is the manifest.yml file. By using an application manifest, you reduce the number of deployment details that you must specify every time you deploy an application to Bluemix. In application manifests, you can specify options such as the number of application instances to create, the amount of memory and disk quota to allocate to applications, and other environment variables for the application. You can also use application manifests to automate application deployments. The default name of a manifest file is manifest.yml.

Auto-completion

You can quickly create the manifest with one shortcut, and then you can take it one step further.  You can use content assist auto-completion to add missing fields, to help you craft the manifest.yml file correctly.

Content assist auto-completion provides you with a list of accessible keywords based on the programming language chosen (in conjunction with specifications, variables, methods, data types, etc.). Specifically, the JavaScript content assist code templates/snippets allows for JSDoc formatted comments, parameters, RegExp literals and object type assistance as well as built-in indices. You can also create rules to create ESLint Directives that can allow you to detect empty blocks of code (new no-empty-block rule) which is indicated through an error notification. Similar characteristics exist for throw error-objects. Content assist can help with setting up an environment, enabling or disabling rules, and unclosed / incomplete comment blocks while parsing your source.

Syntax Highlighting

The Web IDE editor makes coding easier with content assist as well as syntax highlighting. Programming languages supported include: HTML, CSS, JavaScript, Ruby, and Python. When using JavaScript, the Web IDE supports syntax and semantic checking as well. The editor will check your code and indicate where you might run into issues and may need to debug before you execute the code. It can also mark occurrences of variables and other coding elements.

Happy Hacking with Bluemix!

More DevOps stories
October 18, 2018

Mount iSCSI Block Storage on VMware ESXi 6.5U2

It seems like pretty much everyone is using VMware ESXi virtualization nowadays. In this article, I'll cover how to mount IBM Cloud Block Storages onto this popular hypervisor using the iSCSI protocol.

Continue reading

October 18, 2018

Journey to Cloud – Moving On-Premise Mobile Foundation Apps to IBM Cloud

IBM MobileFirst Platform Foundation powers many on-premise customers in more than 50 countries, delivering the best-of-the-best apps and serving a large number of users. IBM Cloud Mobile Foundation Service offers all the same capabilities available in on-premise MobileFirst Foundation, with the additional benefits of fully managed service with instant deployment and scale-out option.

Continue reading

October 17, 2018

Introduction: Build Messaging Solutions with Apache Kafka or Event Streams for IBM Cloud

This multi-part blog series is going to walk you through some of the key architectural considerations and steps for building messaging solutions with Apache Kafka or IBM Event Streams for IBM Cloud. This series will be helpful for developers, architects, and technology consultants who have a general understanding of Apache Kafka and are now looking toward getting deeper into evaluating and building messaging solutions.

Continue reading