This repo contains the assets for the Decentraland Builder and a script to deploy them.
This work is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License. Feel free to contact us at [email protected] for other licensing agreements.
Some setup before running the deployment script.
You can supply your AWS credentials by creating a .env
file in the root folder of this project. Check the .env.example
file to see how the variables should be named.
Add a thumbnail.png
file to an asset pack folder for it to be the thumbnail of that pack.
The file must be called info.json
and it should have the following properties (example from MiniTown
, AKA Genesis City
):
{
"id": "e6fa9601-3e47-4dff-9a84-e8e017add15a",
"title": "Genesis City"
}
You can use uuid generator
cd builder-assets
npm run bundle -- --src ./assets --bucket AWS_BUCKET --content-server CONTENT_SERVER_URL --out ./out/path --url https://ALIAS.now.sh
cd ./out/path
now alias $(now --scope decentraland) ALIAS
Run npm run bundle -- --help
to see the help in the terminal