Skip to content

Commit 3fdacda

Browse files
author
Karl Bishop
authored
Merge pull request #31 from IBM-Cloud/beta
Beta
2 parents 0271071 + 8752160 commit 3fdacda

6 files changed

Lines changed: 726 additions & 374 deletions

File tree

README.md

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# IBM Cloud Developer Tools
22

33
[![](https://img.shields.io/badge/IBM%20Cloud-powered-blue.svg)](https://bluemix.net)
4-
![Platform](https://img.shields.io/badge/platform-BASH-lightgrey.svg?style=flat)
5-
![Platform](https://img.shields.io/badge/platform-PowerShell-lightgrey.svg?style=flat)
64

75
This repo provides support for the IBM Cloud Developer Tools (IDT) CLI environment. The IDT tools currently consists of the IBM Cloud CLI (bx) 'dev' and other plugins, as well as extensions to multiple IDEs.
86

@@ -12,7 +10,7 @@ These tools work for the following environments:
1210
- [IBM **Cloud** Dedicated](https://www.ibm.com/cloud-computing/bluemix/dedicated)
1311
- [IBM MicroService Builder](https://developer.ibm.com/microservice-builder/)
1412

15-
If you run into any issues, please let us know on the [IBM Cloud Tech Slack :: #developer-tools](https://slack-invite-ibm-cloud-tech.mybluemix.net/) or file an issue on our [GitHub repo](https://github.com/IBM-Bluemix/ibm-cloud-developer-tools).
13+
If you run into any issues, please let us know on the [IBM Cloud Tech Slack :: #developer-tools](https://slack-invite-ibm-cloud-tech.mybluemix.net/) or file an issue on our [GitHub repo](https://github.com/IBM-Cloud/ibm-cloud-developer-tools).
1614

1715

1816

@@ -24,19 +22,10 @@ The following command will install the IBM Cloud Developer Tools in a single inv
2422
$ curl -sL https://ibm.biz/idt-installer | bash
2523
```
2624

27-
By default, this installer will use the 'brew' installer on MacOS, if available. If you explicitly do not want to use brew, execute the following command using the `--nobrew` option:
28-
29-
```
30-
curl -sL https://ibm.biz/idt-installer | bash -s -- --nobrew
31-
```
32-
33-
Once complete, there will be three aliases defined to access the IBM Cloud Developer Tools:
34-
- `idt` : Main command line tool. Shorthand for standard 'bx dev' command
35-
- `idt-update` : Update your IBM Cloud Developer Tools to the latest versions
36-
- `idt-uninstall` : Uninstall the IBM Cloud Developer Tools
37-
38-
Note: In order to access these aliases, you need to either restart your terminal session,
39-
or reload your bash env (ie `. ~/.bashrc`)
25+
Once complete, there will be three shortcuts defined to access the IBM Cloud Developer Tools:
26+
- `idt` : Main command line tool. Shorthand for 'bx dev' command
27+
- `idt update` : Update your IBM Cloud Developer Tools to the latest versions
28+
- `idt uninstall` : Uninstall the IBM Cloud Developer Tools
4029

4130
Access the [platform-specific readme](./linux-installer/README.md) for additional details.
4231

@@ -70,5 +59,5 @@ Notice: These extensions are provided "as-is". IBM does not explicitly endorse,
7059

7160
We can be reached in the following ways. We encourage and welcome all feedback and suggestions
7261
- [IBM Cloud Tech Slack](https://slack-invite-ibm-cloud-tech.mybluemix.net/): Find us on the `#developer-tools` channel
73-
- [IBM Cloud Developer Tools GitHub repo](https://github.com/IBM-Cloud/ibm-cloud-developer-tools): Use to file any issues specific to installation of the tools
62+
- [IBM Cloud Developer Tools GitHub repo](https://github.com/IBM-Cloud/ibm-cloud-developer-tools): Use to file any issues specific to installation of the tools or the IDE extensions.
7463

idt_release_notes.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2+
## v1.1.0 Dec 13, 2017
3+
- Integrate DevOps (CF or Kube) during app creation
4+
- Use Docker Compose to Develop a Multi-Container Application
5+
- Launch a Deployed Web Application with View
6+
- Access Local Containers with Shell
7+
- Improved Create Interaction
8+
- Usability Improvements
9+
- and bug fixes
10+
11+
You can read about this new release here: https://www.ibm.com/blogs/bluemix/2017/12/whats-included-ibm-cloud-developer-tools-cli-version-1-1-0/
12+
113
## v1.0.8 Oct 26, 2018
214
- modifies the `bx dev console` command for the new location of projects due to the app-services changes to the Public Cloud console.
315

linux-installer/README.md

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# IBM Developer Tools CLI Installer (idt-installer)
1+
# IBM Developer Tools CLI Installer (idt-installer) for Linux and MacOS
22

33
[![](https://img.shields.io/badge/IBM%20Cloud-powered-blue.svg)](https://bluemix.net)
44
![Platform](https://img.shields.io/badge/platform-BASH-lightgrey.svg?style=flat)
@@ -19,7 +19,7 @@
1919

2020
## Summary
2121

22-
This script performs an installation of the IBM Developer Tools CLI environment. The IDT is a plugin to the IBM Bluemix CLI. Our general target environment is the IBM Cloud, including public, dedicated, and local hybrid.
22+
This script performs an installation of the IBM Developer Tools CLI environment. The IDT consists of the 'dev' (and several other) plugins to the IBM Cloud CLI. Our general target environment is the IBM Cloud, including public, dedicated, and local hybrid.
2323

2424

2525
## Installation
@@ -29,43 +29,48 @@ Before running the installation script, you should set this environment variable
2929
export DESIRED_VERSION=v2.4.2
3030
```
3131

32-
To install the IBM Developer Tools CLI, run the following command:
32+
To install the IBM Cloud Developer Tools CLI, run the following command:
3333

3434
```
3535
$ curl -sL https://ibm.biz/idt-installer | bash
3636
```
3737

38-
Once complete, there will be three aliases defined to access the IDT:
39-
- `idt` : Main command line tool for IBM cloud native development (shortcut to 'bx dev')
40-
- `idt-update` : Update your IDT environment to the latest versions
41-
- `idt-uninstall` : Uninstall the IBM Developer Tools
42-
43-
Note: You will need to either restart your terminal session, or reload your bash environment (ie `. ~/.bashrc`) to access these commands.
38+
Once complete, there will be three added shortcuts defined to access the IDT:
39+
- `idt` : Main command line tool for IBM cloud native development (shortcut to 'bx dev' command)
40+
- `idt update` : Update your IDT environment to the latest versions
41+
- `idt uninstall` : Uninstall the IBM Developer Tools
4442

4543

4644
### Debugging
4745

48-
If you have any issues with the instaler, try running with the `--trace` argument which will produce verbose output to assist us in diagnosing your problem:
46+
If you have any issues with the installer, try running with the `--trace` argument which will produce verbose output to assist us in diagnosing your problem:
4947

5048
```
5149
curl -sL https://ibm.biz/idt-installer | bash -s -- --trace
5250
```
5351

52+
If updating an existing IDT installation, you can run the following:
53+
```
54+
idt update --trace
55+
```
56+
5457

5558
## Updating
5659

57-
If you wish to update the IBM Developer Tools CLI, run `idt-update`. This command is simply an alias defined during initial install that runs the installer shown here:
60+
If you wish to update the IBM Developer Tools CLI, run `idt update`. There is also a `--force` argument that will force update to all dependencies too.
61+
62+
This command is simply an alias defined during initial install that runs the installer shown here:
5863

5964
```
60-
$ curl -sL https://ibm.biz/idt-installer | bash
65+
$ curl -sL https://ibm.biz/idt-installer | bash -c -- [--force]
6166
```
6267

6368
## Uninstall
6469

65-
If you wish to remove the IBM Developer Tools CLI, run `idt-uninstall`. This command is simply an alias defined during install that runs the following:
70+
If you wish to remove the IBM Developer Tools CLI, run `idt uninstall`. This command is simply an alias defined during install that runs the following:
6671

6772
```
68-
$ curl -sL https://ibm.biz/idt-installer | bash -s uninstall
73+
$ curl -sL https://ibm.biz/idt-installer | bash -c -- uninstall
6974
```
7075

7176

@@ -75,17 +80,18 @@ The script will check for the following prereqs, and attempt to install them if
7580
- Git command line
7681
- Docker command line
7782
- Kubernetes CLI (kubectl)
83+
- Kubernetes helm
7884

7985

8086
## Usage
8187
```
8288
Usage: idt-installer [<args>]
8389
8490
Where <args> is:
85-
install [Default] Perform full install (or update) of all needed CLIs and Plugins
91+
install | update [Default] Perform full install (or update) of all needed CLIs and Plugins
8692
uninstall Uninstall full IBM Cloud CLI env, including 'bx', and plugins
8793
help | -h | -? Show this help
88-
--nobrew Force not using brew installer on MacOS
94+
--force Force updates of dependencies and other settings during update
8995
--trace Eanble verbose tracing of all activity
9096
9197
@@ -95,28 +101,33 @@ If "install" (or no action provided), a full CLI installation (or update) will o
95101
3. Install all required plugins
96102
4. Defines aliases to improve useability
97103
- idt : Shortcut for normal "bx dev" command
98-
- idt-update : Runs this installer checking for and installing any updates
99-
- idt-uninstall : Uninstalls 'bx cli' and all plugins
104+
- idt update : Runs this installer checking for and installing any updates
105+
- idt uninstall : Uninstalls IDT, including the 'bx cli' and all plugins
100106
101107
If "uninstall", the IBM Cloud CLI and plugins are removed from the system, including personal metadata.
102108
Note: Pre-req CLIs listed above are NOT uninstalled.
103109
104-
Chat with us on Slack: https://ibm.biz/IBMCloudNativeSlack
105-
Submit any issues to : https://github.com/ibm-cloud-tools/idt-installer
110+
Chat with us on Slack: https://slack-invite-ibm-cloud-tech.mybluemix.net/
111+
Submit any issues to : https://github.com/IBM-Cloud/ibm-cloud-developer-tools/issues
106112
107113
```
108114

109115
## Platforms
110116

111117
The following are platform specific concerns and notes you should be aware of.
112118

119+
Note: Previous versions of this installer set up aliases within you shell env (ie ~/.bashrc). Current version have switched over to use a wrapper shell scripty (/usr/local/bin/idt) to achieve better results. The old env entries are automatically removed.
120+
121+
113122
### MacOS
114123

115-
By default, this installer will use the 'brew' installer if it is available. You can use the `--nobrew` argument to disable use of 'brew'. Note that you must be consistent with the use of `--nobrew` when installing, updating, and uninstalling.
124+
The installer uses the "homebrew" utility, and it will be installed as needed.
116125

117126
### Linux
118127

119-
This script has only been tested on Ubuntu Linux systems, although it should behave properly on other distros. If you run into any issues, please let us know on [Slack](https://ibm.biz/IBMCloudNativeSlack) or file an issue on our [GitHub repo](https://github.com/ibm-cloud-tools/idt-installer).
128+
This script has only been tested on Ubuntu Linux systems, although it should behave properly on other distros that use 'apt-get'.
129+
130+
If you run into any issues, please let us know on [IBM Cloud Tech Slack](https://slack-invite-ibm-cloud-tech.mybluemix.net/) - #developer-tools channel, or file an issue on our [GitHub repo](https://github.com/IBM-Cloud/ibm-cloud-developer-tools/issues).
120131

121132

122133
### Windows
@@ -127,13 +138,5 @@ This script has only been tested on Ubuntu Linux systems, although it should beh
127138

128139
## Internal IBM users
129140

130-
IBM users can utilize this installer pulling the Bluemix CLI and plugins from pre-release internal servers. In order to have the installer utilize internal servers, set the following environment variables (eg in `~/.bashrc`), substituting the proper internal URLs. Shown below are the default public URLs:
131-
132-
```
133-
export IDT_INSTALL_USE_PROD=true
134-
export IDT_INSTALL_BMX_URL="https://clis.ng.bluemix.net/install"
135-
export IDT_INSTALL_BMX_REPO_NAME="internal"
136-
export IDT_INSTALL_BMX_REPO_URL="https://plugins.ng.bluemix.net"
137-
```
141+
IBM users can use pre-release versions of the IDT (bx and all plugins). The installer will check if you have the internal "stage1" plugin repo defined, and ask if you want to use it for updates. Note: Since during initial install of the bx CLI does not have extra plugin repos defined, it only applies during subsequent updates.
138142

139-
If you need assistance on the proper values, just ask in any of the IBM internal slack channels.

0 commit comments

Comments
 (0)