dropbox5

Tutorials

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

--init and --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 --root. See --help for details.




Create your second project

Once you've tailored the configuration and inventory to your liking, you can re-use them for future projects.

  1. Copy your .config.toml and .inventory.toml files from your first project.
  2. Run the --save command

For example

1
2
3
4
mkdir mySecondProject
cd mySecondProject
copy ../myProject/.* ./
avalon --save
1
2
3
4
mkdir mySecondProject
cd mySecondProject
cp ../myProject/.* ./
avalon --save

The --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?