June 13, 2016
Vessels can be created in different ways: from the UI and the terminal. To create a vessel in the terminal, you only need the following information:
- Project: The project in which the vessel should be created;
- Recipe: The recipe that the vessel will be based on;
- Name: The
nameof the resulting vessel.
To really harness the power of vessels, it is best to pre-determine their role within the application. This will help you decide which recipe to use. In the example below, we will create a database vessel that can be used to store data withing the application.
Let us use a spaced command to create a new vessel:
$ spaced vessel create <vesselname> -p <project> -r <recipe>
<vesselname>will be the name of the vessel;
<project>will be the project tag / ID like
<recipe>will be the recipe tag / ID such as
Run the following command to see the list of vessels in your workspace:
$ spaced vessel list
You should get output similar to this: