Here you'll find a series of steps to achieve a goal.
Create your first project¶
To create a new project, create a new directory and fetch default values like this.
1 2 3 4 5
mkdir myProject cd myProject avalon --init # Edit .inventory.toml and .config.toml avalon --save
--save will take into account the name of the parent directory as the project name and produce two files, the "inventory" and "config". You can override this via
--help for details.
- See Project Inventory API for details on how to manage your
- See Project Configuration API for details on how to manage your
Create your second project¶
Once you've tailored the configuration and inventory to your liking, you can re-use them for future projects.
- Copy your
.inventory.tomlfiles from your first project.
- Run the
1 2 3 4
mkdir mySecondProject cd mySecondProject copy ../myProject/.* ./ avalon --save
1 2 3 4
mkdir mySecondProject cd mySecondProject cp ../myProject/.* ./ avalon --save
--init command is used to write a generic configuration and inventory to your current working directory. If you already have some, it isn't necessary.
Create your first asset¶
With a project up and running, how do you actually go about creating assets?