Please install node dependencies as follows:
npm install
| It is recommended to use Node 16 or newer version
Please copy the sample.env file and rename into .env and complete the configurations for HTTP and MQTT
MQTT_HOST=mqtt://localhost
MQTT_USER=user
MQTT_PASS=password
MQTT_CLIENT=mqtt_server
MQTT_CHANNEL=v1
ARENA_CONFIG="./app/config/arena/{arena_config}.json"
LOG_LEVEL='info'
Development environment
npm run dev
Production environment
npm start
You can find more information about pera-swarm on the Official Documentation Page.