The Solution Center comprehensively covers the development, test, deployment, run, and scale applications across physical, virtual, and distributed ledger technologies environments. The solution center is described as an "end-to-end application development product"
As part of the Solution Centre, CDE (Collaborative Development Environment) plays an essential role in the lifecycle of blockchain application development.
Workspace in SEED represents the main entry point into the Blockchain Application Development. By creating your own workspaces you can host projects and develop code using the available ready-to-go stacks. The stacks come with runtimes, preconfigured components and the cloud IDE supports multiple languages.
Click on the “New Workspace” icon situated at right side of the My IDE Workspaces section in the Dashboard.
Fill in the name of your new workspace.
Choose the blockchain to work with, the type of application and the runtime environment (only standard option is active in this version). Click the next button.
- Select the development stack.
- Ensure you have checked details clicking to "More Details" as shown in the next image (see 1)
- Allocate the RAM for your dev machine as shown in the next image (see 2).
- Next, you can choose your project. For this, you can pick from a list that you have imported into “My Repository”, these are DApps which you have downloaded from the App Library or any repository created under your git account (created either by using My Repository menu or the repositories created externally under your git account.
Alternatively, you can import your code from other external Git repositories by selecting "Git URL". Select your Git URL (linking to your project code). Upon the creation of your workspace, the code will be preloaded into the editor.
Note: If you are able to choose the option "Blank Project", that means nothing will be preloaded into the editor. You will have to import your project manually from the editor itself
*Note. Type of Blockchain and Category acts as a filter for the next wizard steps. For example, if you select Ethereum blockchain you will see the Truffle-ganache stack, and if you select Multichain you will see the php stack.
There are two network categories:
- BPaaS Hosted. You can select and add from the drop-down list of your networks active in the platform.
- Other Networks. You can manually input an external network (e.g. Main Ethereum Network)
Click the "Confirm & Submit" button to create the workspace.
Note: Once the blockchain endpoint has been added to the list, the workspace runtime (dev-machine) will store the endpoints in an environment variable:
similar to BLKENDPOINT_ETHEREUM_ADDRESS_2847968
Alternatively, you can manually identify and copy the internal rpc url by clicking on the info icon of the blockchain network, to display the blockchain network information.
Once the new Workspace configuration has been confirmed and submitted, the new workspace will be created although it must be started before working on it.
In order to see more information regarding the properties of our workspace click on the "i" button.
In V2.0 (coming soon)
You can preview the application(s) running in the workspace. E.g. If you run a java app listening on HTTP, the preview URL is generated automatically and you can see it in the workspace information when you click on the retrieve button.
Once a workspace is active, it can be accessed and worked on through the CDE dashboard.
To do so, we click on the name or on the workspace rectangle area.
Once the CDE loads, we can start working on it. The below image shows the integrated Eclipse IDE.
Note in Eclipse IDE, another way to access the applications is by clicking the + sign next to the terminal and select Servers from the drop-down menu.
Depending of the stack selected, it is possible to have two IDE options. IDE Eclipse and IDE VsCode.
Working with multiple workspaces and multiple IDEs is easy. IDE windows can be docked on the bottom bar allowing you to move back and forth across the platform.
Based on your subscription plan and your team profile you can edit the workspaces.
Click on the workspace info icon (i) then on the listed machine click edit button again.
Users can edit the following settings for the workspace (see the image below).
Allocated RAM for the development machine
- Environment Variables. Add/Edit/Remove environment variables to the operating system.
- Server URLs. Add/Edit/Remove URLs for your applications running in the development machine. For example, if you need to run an Angular application you can add a new server URL (protocol: HTTP, port: 4200)
- Volumes. Add/Edit/Remove volumes mapped to your development machine. Volumes allow storing persistent data after workspace restarts.
Note: By default only data stored under the default directory /projects is persistent.
As we build applications to solve governance issues or create novel alternatives to decentralized organizations, there is a need for a place to host, make the project brief available to other members of the team, or even other organizations.
Our platform is able to meet this need through the App Library.
We must set up the workspace in 2 simple steps before publishing an application or sharing it with other members of the team.
Read Submit an app to the App Library for more information.
It is possible to share the application built on a given workspace with other members of a team that shares a Morpheus Labs SEED account.
Read more at Sharing Resources about sharing workspaces
You will need to stop the processing of the workspace before you can remove the workspace.
Updated over 1 year ago