Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/decentraland/cli
💻 Decentraland command-line interface
https://github.com/decentraland/cli
cli dapp dcl decentraland land sdk
Last synced: 5 days ago
JSON representation
💻 Decentraland command-line interface
- Host: GitHub
- URL: https://github.com/decentraland/cli
- Owner: decentraland
- License: apache-2.0
- Created: 2017-12-29T00:31:31.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2023-09-04T20:21:12.000Z (over 1 year ago)
- Last Synced: 2023-12-16T15:54:26.911Z (about 1 year ago)
- Topics: cli, dapp, dcl, decentraland, land, sdk
- Language: TypeScript
- Homepage: https://docs.decentraland.org
- Size: 11.8 MB
- Stars: 66
- Watchers: 33
- Forks: 54
- Open Issues: 58
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Decentraland CLI ![Decentraland Logo](css/logo.svg)
[![CI](https://github.com/decentraland/cli/actions/workflows/ci.yml/badge.svg?branch=master&event=push)](https://github.com/decentraland/cli/actions/workflows/ci.yml)
[![chat on Discord](https://img.shields.io/discord/417796904760639509.svg?logo=discord)](https://discordapp.com/invite/9EcuFgC)This CLI provides tooling/commands to assist you in the [scenes](https://github.com/decentraland-scenes/Awesome-Repository) development process. Some of the commands will help you scaffold a new scene project, locally start and visualize the scene in order to test it and deploy it to a [content server](https://github.com/decentraland/catalyst/tree/master/content) to be incorporated in your Decentraland parcel.
## Usage
To install the latest version of `dcl` (Decentraland CLI), run this command:
```bash
npm install -g decentraland
```To learn what you can do with the CLI run the following command:
```bash
dcl --help
```See more details at [Decentraland docs](https://docs.decentraland.org/creator/development-guide/cli/).
## Documentation
For details on how to use Decentraland developer tools, check our [documentation site](https://docs.decentraland.org)
## Contributing
1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device.
2. Install dependencies with `npm install`.
3. Build the project by running `npm run build`.
4. Link the CLI with: `npm link`. The `dcl` command should now be available.
5. You can run tests with `npm test`**NOTE:** you can set the environment variable `DEBUG=true` to see all debugging info
## Releasing
Just update the version on the `package.json` file and merge to master.## Configuration
`dcl` can be configured in several ways to adapt it to another environment other than the default one. To do this you have to either set environment variables or change your `~/.dclinfo` file:
| Variable name | Enviroment variable | `~/.dclinfo` |
| ------------------------ | :-----------------: | :------------: |
| Provider | RPC_URL | - |
| MANA Token Contract | MANA_TOKEN | MANAToken |
| LAND Registry Contract | LAND_REGISTRY | LANDRegistry |
| Estate Registry Contract | ESTATE_REGISTRY | EstateRegistry |
| Content Server URL | CONTENT_URL | contentUrl |
| Segment API key | SEGMENT_KEY | segmentKey |
| Track Analytics data | TRACK_STATS | trackStats |## Copyright info
This repository is protected with a standard Apache 2 license. See the terms and conditions in the [LICENSE](https://github.com/decentraland/cli/blob/master/LICENSE) file.