yarn build
yarn test
-
Install libs
yarn install
-
Build package
yarn build
-
Start the content server
-
Start lambdas server
CONTENT_SERVER_ADDRESS=peer.decentraland.org/content SERVER_PORT=9091 METRICS_PORT=9092 yarn start:server
You can provide these configurations when starting the server like this:
CONFIG_NAME1=CONFIG_VALUE1 CONFIG_NAME2=CONFIG_VALUE2 yarn start:lambdas
These are some of the more important configuration values when running locally:
Name | Description | Default |
---|---|---|
COMMS_SERVER_ADDRESS | Comms server address. Will only be used when the service is running outside of docker | - |
CONTENT_SERVER_ADDRESS | Content server address. Will only be used when the service is running outside of docker | - |
LOG_LEVEL | Minimum log level | 'info' |
MAX_SYNCHRONIZATION_TIME | It's the time that the service will allow for the content service to be out of sync before considering it unhealthy | '15m' |
MAX_DEPLOYMENT_OBTENTION_TIME | It's the max time that the service will allow for the content service to obtain a single deployment before considering it Loaded | '3s' |
`yarn test`
`yarn integration-test`