The manifest serves as the central repository for listing artists and items and assoicated metadata.
Suppose KittyHawk makes a new item and we want to add it to the repo.
- Get
@jordan
to make you a contract and send you the JSON. Follow instructions onkitty-hats-contracts
repo to add your new contract. - Find the folder for the artist and open manifest file
- Place the item asset and preview in the appropriate folders
- Add an entry for the new item
{
"image": "bowtie",
"contract": "ItemBowtie",
"category": "accessories",
"displayName": "Bowtie",
"charity": "Pussyhats.org"
}
- Get the artist to update their repo
- Should be as simple as running
git submodule update --recursive
for artists with external repos.
New artists need to provide a public repository URL with a repository structure matching the artists/KittyHawk
folder. Must have an asset
and preview
folder with a well-defined manifest.json
.
-
Ensure that the artist's repository meets the requirements for KittyHats
-
Inside the repo folder, add the artists repository as a submodule
git submodule add <GIT_REPO_URL> --path ./artists/<ARTIST_NAME>
This will clone the repository and update the artists folder.