builder-assets

1.3.2 • Public • Published

builder-assets

This repo contains the assets for the Decentraland Builder and a script to deploy them.

License

BY-NC 3.0

This work is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License. Feel free to contact us at hello@decentraland.org for other licensing agreements.

Deploy

Before running

Some setup before running the deployment script.

Env file

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.

Asset pack thumbnail

Add a thumbnail.png file to an asset pack folder for it to be the thumbnail of that pack.

Asset pack info file

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"
}

Generating a new id

You can use uuid generator

How to run

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

Readme

Keywords

none

Package Sidebar

Install

npm i builder-assets

Weekly Downloads

1

Version

1.3.2

License

Apache-2.0

Unpacked Size

50.1 kB

Total Files

27

Last publish

Collaborators

  • zqbflynn