Add & Remove Systems

 

CodeMRI® Sys Admin Training Videos:

Add & Remove Systems

Creating a system in CodeMRI® is much like creating a project. It's a similar command. System add and we give it --selection with the project name. Cuz remember, all systems live under our project, so system add --selection <project name> --origin, and we give it the file path to where the codebase lives.

For this system that we're talking about, um, --name. We give the system a name and --version. We give the system a version. Deleting systems is very similar to deleting projects. If a single system is selected, we can type system remove, and that system will be removed from the vault. We have multiple systems selected. We can type in system removed –force, and that will remove all the systems that have been selected. To remove a specific system, we can type system remove --select. With the project name --system name, that's a little safer and let's take a look at all those. I will enter my vault. cmri shell.

I'm inside my vault. I have zero projects, zero system selected. I can type vault list at any time to view the contents of my vault. Right now, I have no content. Just the vault exists. So it will create a project add --n axis and then we will add a system, system add --selection with the project name that the system will be under --origin. For the path to my code--name, I will give my system a name, we'll call it Axis2, just to differentiate from the project name --version, and this is version 1.7.9, and then we hit enter. The system has successfully been added, and we will confirm that by looking at vault list and looking at the contents of the vault. Now we have a vault. We have a project Axis and a system Axis2 of 1.7.9.