Getting setup for development (CentOS)
At work we'll often do 'group testing' sessions or 'internal hackathons'. What struck me about the last one was that setting up your development environment can surprisingly tricky, especailly if it's for a style of development or langage you don't generally use.
TL;DR: gist of commands
What are we developing for?
The setup we are going for here, is a Node.js and Java environment using VSCode - with a view to using the IBM Blockchain Platform extension for writing applications and smart contracts for Hyperledger Fabric
So how?
Well I'm going to link you to the [github gist here]( gist of commands "github gist here") that has the list of commands to enter, it's versioned and to have one place. Most of these commands have come from the home pages of the tools themsevles.
For me the most important elements are the programming SDK installations - using tools such as nvm, sdkman for example are critical. They allow multiple installations of language SDKs and keep things ordered
Installing Notes
- Node.js
- Just use nvm
- Java JDK
- Just use sdkman to install java, and specificall the AdoptOpenJDK versions of Java
- VSCode
- DockerCE and docker-compose
- The most commands here but the Docker website is very good
- And some extensions for VSCode.
- Quite easy to install from the command line, and a bit quicker I think
code --install-extension ms-vscode.vscode-typescript-tslint-plugin code --install-extension vscjava.vscode-java-pack code --install-extension ibmblockchain.ibm-blockchain-platform
- Quite easy to install from the command line, and a bit quicker I think